2006-11-16 05:17:13 +01:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2006-11-16 05:17:13 +01:00
|
|
|
|
<refentry>
|
|
|
|
|
<refmeta>
|
|
|
|
|
<refentrytitle>shorewall-routestopped</refentrytitle>
|
|
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
|
<refname>routestopped</refname>
|
|
|
|
|
|
|
|
|
|
<refpurpose>The Shorewall file that governs what traffic flows through the
|
2009-05-30 17:34:34 +02:00
|
|
|
|
firewall while it is in the 'stopped' state.</refpurpose>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
|
<cmdsynopsis>
|
|
|
|
|
<command>/etc/shorewall/routestopped</command>
|
|
|
|
|
</cmdsynopsis>
|
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
2012-09-03 19:52:22 +02:00
|
|
|
|
<para>This file is deprecated in favor of the <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
|
url="/manpages/shorewall-stoppedrules.html">shorewall-stoppedrules</ulink>(5)
|
2012-09-03 19:52:22 +02:00
|
|
|
|
file.</para>
|
|
|
|
|
|
2006-11-16 05:17:13 +01:00
|
|
|
|
<para>This file is used to define the hosts that are accessible when the
|
2009-07-16 02:50:55 +02:00
|
|
|
|
firewall is stopped or is being stopped.</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
2009-05-30 17:34:34 +02:00
|
|
|
|
<warning>
|
|
|
|
|
<para>Changes to this file do not take effect until after the next
|
|
|
|
|
<command>shorewall start</command> or <command>shorewall
|
|
|
|
|
restart</command> command.</para>
|
|
|
|
|
</warning>
|
|
|
|
|
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<para>The columns in the file are as follows (where the column name is
|
|
|
|
|
followed by a different name in parentheses, the different name is used in
|
|
|
|
|
the alternate specification syntax).</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
|
<term><emphasis role="bold">INTERFACE</emphasis> -
|
2006-11-23 02:22:37 +01:00
|
|
|
|
<emphasis>interface</emphasis></term>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Interface through which host(s) communicate with the
|
|
|
|
|
firewall</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<term><emphasis role="bold">HOST(S)</emphasis> (hosts) - [<emphasis
|
2006-12-05 19:59:43 +01:00
|
|
|
|
role="bold">-</emphasis>|<emphasis>address</emphasis>[,<emphasis>address</emphasis>]...]</term>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<para>Optional. Comma-separated list of IP/subnet addresses. If your
|
|
|
|
|
kernel and iptables include iprange match support, IP address ranges
|
|
|
|
|
are also allowed.</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<para>If left empty or supplied as "-", 0.0.0.0/0 is assumed.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<term><emphasis role="bold">OPTIONS</emphasis> - [<emphasis
|
2006-11-23 02:22:37 +01:00
|
|
|
|
role="bold">-</emphasis>|<emphasis>option</emphasis>[<emphasis
|
|
|
|
|
role="bold">,</emphasis><emphasis>option</emphasis>]...]</term>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<para>Optional. A comma-separated list of options. The order of the
|
|
|
|
|
options is not important but the list can contain no embedded
|
2013-05-03 18:19:45 +02:00
|
|
|
|
white-space. The currently-supported options are:</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">routeback</emphasis></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Set up a rule to ACCEPT traffic from these hosts back to
|
2010-05-03 21:31:11 +02:00
|
|
|
|
themselves. Beginning with Shorewall 4.4.9, this option is
|
|
|
|
|
automatically set if <emphasis
|
|
|
|
|
role="bold">routeback</emphasis> is specified in <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
|
url="/manpages/shorewall-interfaces.html">shorewall-interfaces</ulink>
|
2010-05-03 21:31:11 +02:00
|
|
|
|
(5) or if the rules compiler detects that the interface is a
|
|
|
|
|
bridge.</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">source</emphasis></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Allow traffic from these hosts to ANY destination.
|
|
|
|
|
Without this option or the <emphasis
|
|
|
|
|
role="bold">dest</emphasis> option, only traffic from this
|
|
|
|
|
host to other listed hosts (and the firewall) is allowed. If
|
|
|
|
|
<emphasis role="bold">source</emphasis> is specified then
|
|
|
|
|
<emphasis role="bold">routeback</emphasis> is
|
|
|
|
|
redundant.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">dest</emphasis></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Allow traffic to these hosts from ANY source. Without
|
|
|
|
|
this option or the <emphasis role="bold">source</emphasis>
|
|
|
|
|
option, only traffic from this host to other listed hosts (and
|
|
|
|
|
the firewall) is allowed. If <emphasis
|
|
|
|
|
role="bold">dest</emphasis> is specified then <emphasis
|
|
|
|
|
role="bold">routeback</emphasis> is redundant.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<varlistentry>
|
2014-03-02 19:39:12 +01:00
|
|
|
|
<term><emphasis role="bold">notrack</emphasis></term>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
2013-05-03 18:19:45 +02:00
|
|
|
|
<para>The traffic will be exempted from connection
|
2009-02-18 17:48:34 +01:00
|
|
|
|
tracking.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</variablelist>
|
2014-03-02 19:39:12 +01:00
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>The <emphasis role="bold">source</emphasis> and <emphasis
|
|
|
|
|
role="bold">dest</emphasis> options work best when used in
|
|
|
|
|
conjunction with ADMINISABSENTMINDED=Yes in <ulink
|
|
|
|
|
url="shorewall6.conf.html">shorewall6.conf</ulink>(5).</para>
|
|
|
|
|
</note>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>PROTO (Optional) ‒
|
|
|
|
|
<replaceable>protocol-name-or-number</replaceable></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
2009-07-16 02:50:55 +02:00
|
|
|
|
<para>Protocol.</para>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<term>DEST PORT(S) (dport) ‒
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<replaceable>service-name/port-number-list</replaceable></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<para>Optional. A comma-separated list of port numbers and/or
|
|
|
|
|
service names from <filename>/etc/services</filename>. May also
|
|
|
|
|
include port ranges of the form
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<replaceable>low-port</replaceable>:<replaceable>high-port</replaceable>
|
|
|
|
|
if your kernel and iptables include port range support.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<term>SOURCE PORT(S) (sport) ‒
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<replaceable>service-name/port-number-list</replaceable></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
2011-10-02 20:45:55 +02:00
|
|
|
|
<para>Optional. A comma-separated list of port numbers and/or
|
|
|
|
|
service names from <filename>/etc/services</filename>. May also
|
|
|
|
|
include port ranges of the form
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<replaceable>low-port</replaceable>:<replaceable>high-port</replaceable>
|
|
|
|
|
if your kernel and iptables include port range support.</para>
|
2013-03-04 18:56:10 +01:00
|
|
|
|
|
|
|
|
|
<para>Beginning with Shorewall 4.5.15, you may place '=' in this
|
|
|
|
|
column, provided that the DEST PORT(S) column is non-empty. This
|
|
|
|
|
causes the rule to match when either the source port or the
|
|
|
|
|
destination port in a packet matches one of the ports specified in
|
2013-05-03 18:19:45 +02:00
|
|
|
|
DEST PORTS(S). Use of '=' requires multi-port match in your iptables
|
2013-03-04 21:53:00 +01:00
|
|
|
|
and kernel.</para>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</variablelist>
|
2006-12-05 19:59:43 +01:00
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>The <emphasis role="bold">source</emphasis> and <emphasis
|
|
|
|
|
role="bold">dest</emphasis> options work best when used in conjunction
|
2007-01-14 23:34:51 +01:00
|
|
|
|
with ADMINISABSENTMINDED=Yes in <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
|
url="/manpages/shorewall.conf.html">shorewall.conf</ulink>(5).</para>
|
2006-12-05 19:59:43 +01:00
|
|
|
|
</note>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>Example</title>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>Example 1:</term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<programlisting> #INTERFACE HOST(S) OPTIONS PROTO DEST SOURCE
|
|
|
|
|
# PORT(S) PORT(S)
|
2006-11-16 05:17:13 +01:00
|
|
|
|
eth2 192.168.1.0/24
|
|
|
|
|
eth0 192.0.2.44
|
|
|
|
|
br0 - routeback
|
2009-02-18 17:48:34 +01:00
|
|
|
|
eth3 - source
|
|
|
|
|
eth4 - notrack 41</programlisting>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
|
|
<para>/etc/shorewall/routestopped</para>
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
|
<para><ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
|
url="/starting_and_stopping_shorewall.htm">http://www.shorewall.net/starting_and_stopping_shorewall.htm</ulink></para>
|
2006-11-22 04:51:39 +01:00
|
|
|
|
|
2011-09-26 19:16:52 +02:00
|
|
|
|
<para><ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
|
url="/configuration_file_basics.htm#Pairs">http://www.shorewall.net/configuration_file_basics.htm#Pairs</ulink></para>
|
2011-09-26 19:16:52 +02:00
|
|
|
|
|
2006-11-16 05:17:13 +01:00
|
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
2011-09-26 19:16:52 +02:00
|
|
|
|
shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
|
|
|
|
|
shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5),
|
|
|
|
|
shorewall-nat(5), shorewall-netmap(5), shorewall-params(5),
|
|
|
|
|
shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5),
|
2012-01-09 16:19:10 +01:00
|
|
|
|
shorewall-rtrules(5), shorewall-rules(5), shorewall.conf(5),
|
2011-09-26 19:16:52 +02:00
|
|
|
|
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5),
|
2013-12-29 00:35:08 +01:00
|
|
|
|
shorewall-mangle(5), shorewall-tos(5), shorewall-tunnels(5),
|
2011-09-26 19:16:52 +02:00
|
|
|
|
shorewall-zones(5)</para>
|
2006-11-16 05:17:13 +01:00
|
|
|
|
</refsect1>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
</refentry>
|