{"id":4284,"date":"2022-12-20T17:48:52","date_gmt":"2022-12-20T20:48:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shorewall-conf-man5\/"},"modified":"2022-12-20T17:48:52","modified_gmt":"2022-12-20T20:48:52","slug":"shorewall-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shorewall-conf-man5\/","title":{"rendered":"SHOREWALL.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">SHOREWALL.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">shorewall.conf \u2212 Shorewall global configuration file<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"47%\">\n<p style=\"margin-top: 1em\"><b>\/etc\/shorewall\/shorewall.conf<\/b><\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"47%\">\n<p style=\"margin-top: 1em\"><b>\/etc\/shorewall6\/shorewall6.conf<\/b><\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The IPv4 and IPv6 environments each have their own configuration. The IPv4 configuration resides in \/etc\/shorewall\/ while the IPv6 configuration resides in \/etc\/shorewall6\/.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The .conf files set options that apply to Shorewall and Shorewall6 as a whole.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The .conf files consist of Shell comments (lines beginning with &#8216;#&#8217;), blank lines and assignment statements (<i>variable<\/i>=<i>value<\/i>). If the <i>value<\/i> contains shell meta characters or white\u2212space, then it must be enclosed in quotes. Example: MACLIST_LOG_LEVEL=&#8221;NFLOG(1,0,1)&#8221;.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Many options have as their value a <i>log\u2212level<\/i>. Log levels are a method of describing to syslog (8) the importance of a message and a number of parameters in this file have log levels as their value.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">These levels are defined by syslog and are used to determine the destination of the messages through entries in \/etc\/syslog.conf (5). The syslog documentation refers to these as &#8220;priorities&#8221;; Netfilter calls them &#8220;levels&#8221; and Shorewall also uses that term.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Valid levels are:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">7 debug <br \/> 6 info <br \/> 5 notice <br \/> 4 warning <br \/> 3 err <br \/> 2 crit <br \/> 1 alert <br \/> 0 emerg<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For most Shorewall logging, a level of 6 (info) is appropriate. Shorewall log messages are generated by NetFilter and are logged using facility &#8216;kern&#8217; and the level that you specify. If you are unsure of the level to choose, 6 (info) is a safe bet. You may specify levels by name or by number.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If you have built your kernel with ULOG (IPv4 only) and\/or NFLOG target support, you may also specify a log level of ULOG and\/or NFLOG (must be all caps). Rather than log its messages to syslogd, Shorewall will direct netfilter to log the messages via the ULOG or NFLOG target which will send them to a process called &#8216;ulogd&#8217;. ulogd is available with most Linux distributions (although it probably isn&#8217;t installed by default).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b><big>Note<\/big><\/b> <br \/> If you want to specify parameters to ULOG or NFLOG (e.g., NFLOG(1,0,1)), then you must quote the setting.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Example:<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\">LOG_LEVEL=&#8221;NFLOG(1,0,1)&#8221;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Beginning with Shorewall 5.0.0, the log level may be followed by a colon (&#8220;:&#8221;) and a log tag. The log tag normally follows the packet disposition in Shorewall\u2212generated Netfilter log messages, separated from the disposition by a colon (e.g, &#8220;DROP:mytag&#8221;). See LOGTAGONLY below for additional information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Beginning with Shorewall 4.4.22, LOGMARK is also a valid level which logs the packet&#8217;s mark value along with the other usual information. The syntax is:<\/p>\n<p style=\"margin-left:17%;\"><b>LOGMARK[<\/b><i>(priority)<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">where <i>priority<\/i> is one of the levels listed in the list above. If omitted, the default is info (6).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options may be set in shorewall.conf.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ACCEPT_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>BLACKLIST_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>DROP_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NFQUEUE_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>QUEUE_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>REJECT_DEFAULT=<\/b>{<i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>][,&#8230;]|<b>none<\/b>}<\/p>\n<p style=\"margin-left:17%;\">In earlier Shorewall versions, a &#8220;default action&#8221; for DROP and REJECT policies was specified in the file \/usr\/share\/shorewall\/actions.std.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">In Shorewall 4.4.0, the DROP_DEFAULT, REJECT_DEFAULT, ACCEPT_DEFAULT, QUEUE_DEFAULT and NFQUEUE_DEFAULT options were added.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">DROP_DEFAULT describes the rules to be applied before a connection request is dropped by a DROP policy; REJECT_DEFAULT describes the rules to be applied if a connection request is rejected by a REJECT policy. The other three are similar for ACCEPT, QUEUE and NFQUEUE policies.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The value applied to these may be:<\/p>\n<p style=\"margin-left:23%;\">a) The name of an <i>action<\/i>. The <br \/> name may optionally be followed by a comma\u2212separated list of <br \/> parameters enclosed in parentheses if the specified action accepts <br \/> parameters (e.g., &#8216;Drop(audit)&#8217;). <br \/> c) <b>None<\/b> or <b>none<\/b><\/p>\n<p style=\"margin-left:17%;\">Prior to Shorewall 5.1.2, the default values are:<\/p>\n<p style=\"margin-left:23%;\">DROP_DEFAULT=&#8221;Drop&#8221; <br \/> REJECT_DEFAULT=&#8221;Reject&#8221; <br \/> BLACKLIST_DEFAULT=&#8221;Drop&#8221; (added in Shorewall <br \/> 5.1.1) <br \/> ACCEPT_DEFAULT=&#8221;none&#8221; <br \/> QUEUE_DEFAULT=&#8221;none&#8221; <br \/> NFQUEUE_DEFAULT=&#8221;none&#8221;<\/p>\n<p style=\"margin-left:17%;\">Beginning with Shorewall 5.1.2, the default value is &#8216;none&#8217; for all of these. Note that the sample configuration files do, however, provide settings for DROP_DEFAULT, BLACKLIST_DEFAULT and REJECT_DEFAULT.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If you set the value of either option to &#8220;None&#8221; then no default action will be used and the default action or macro must be specified in <b><font color=\"#0000FF\">shorewall\u2212policy<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">You can pass <i>parameters<\/i> to the specified action (e.g., <i>myaction(audit,DROP)<\/i>).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 4.5.10, the action name can be followed optionally by a colon and a log <i>level<\/i>. The level will be applied to each rule in the action or body that does not already have a log level.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.1.2, multiple <i>action<\/i>[(<i>parameters<\/i>)][:<i>level<\/i>] specifications may be listed, separated by commas.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>ACCOUNTING=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Added in Shorewall 4.4.7. If set to Yes, Shorewall accounting is enabled (see<\/font> <b><font color=\"#0000FF\">shorewall\u2212accounting<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5)). If not specified or set to the empty value, ACCOUNTING=Yes is assumed.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>ACCOUNTING_TABLE=<\/b>[<b>filter<\/b>|<b>mangle<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Added in Shorewall 4.4.20. This setting determines which Netfilter table the accounting rules are added in. By default, ACCOUNTING_TABLE=filter is assumed. See also<\/font> <b><font color=\"#0000FF\">shorewall\u2212accounting<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>ADD_IP_ALIASES=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">This parameter determines whether Shorewall automatically adds the external address(es) in<\/font> <b><font color=\"#0000FF\">shorewall\u2212nat<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">(5), and is only available in IPv4 configurations. If the variable is set to <b>Yes<\/b> or <b>yes<\/b> then Shorewall automatically adds these aliases. If it is set to <b>No<\/b> or <b>no<\/b>, you must add these aliases yourself using your distribution&#8217;s network configuration tools.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If this variable is not set or is given an empty value (ADD_IP_ALIASES=&#8221;&#8221;) then ADD_IP_ALIASES=Yes is assumed.<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><b><big>Warning<\/big><\/b> <br \/> Addresses added by ADD_IP_ALIASES=Yes are deleted and re\u2212added during <b>shorewall reload<\/b> and <b>shorewall restart<\/b>. As a consequence, connections using those addresses may be severed.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b><big>ADD_SNAT_ALIASES=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>This parameter determines whether Shorewall automatically adds the SNAT ADDRESS in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212masq<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5), and is only available in IPv4 configurations. If the variable is set to <b>Yes<\/b> or <b>yes<\/b> then Shorewall automatically adds these addresses. If it is set to <b>No<\/b> or <b>no<\/b>, you must add these addresses yourself using your distribution&#8217;s network configuration tools.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>If this variable is not set or is given an empty value (ADD_SNAT_ALIASES=&#8221;&#8221;) then ADD_SNAT_ALIASES=No is assumed.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>Warning<\/big><\/b> <br \/> Addresses added by ADD_SNAT_ALIASES=Yes are deleted and re\u2212added during <b>shorewall reload<\/b> and <b>shorewall restart<\/b>. As a consequence, connections using those addresses may be severed.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>ADMINISABSENTMINDED=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big><big>The value of this variable affects Shorewall&#8217;s stopped state. The behavior differs depending on whether<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212routestopped<\/font><\/b><\/big> <font color=\"#000000\">[5] <big>(5) or<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212stoppedrules<\/font><\/b><\/big> <font color=\"#000000\">[6] <big>(5) is used:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>routestopped<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>When ADMINISABSENTMINDED=No, only traffic to\/from those addresses listed in routestopped is accepted when Shorewall is stopped. When ADMINISABSENTMINDED=Yes, in addition to traffic to\/from addresses in routestopped, connections that were active when Shorewall stopped continue to work and all new connections from the firewall system itself are allowed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>Note that the routestopped file is not supported in Shorewall 5.0 and later versions.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>stoppedrules<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>All existing connections continue to work. To sever all existing connections when the firewall is stopped, install the conntrack utility and place the command <b>conntrack \u2212F<\/b> in the stopped user exit (\/etc\/shorewall\/stopped).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>If ADMINISABSENTMINDED=No, only new connections matching entries in stoppedrules are accepted when Shorewall is stopped. Response packets and related connections are automatically accepted.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>If ADMINISABSENTMINDED=Yes, in addition to connections matching entries in stoppedrules, all new connections from the firewall system itself are allowed when the firewall is stopped. Response packets and related connections are automatically accepted.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>If this variable is not set or is given the empty value then ADMINISABSENTMINDED=No is assumed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>ARPTABLES=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.5.12 and available in IPv4 only. This parameter names the arptables executable to be used by Shorewall. If not specified or if specified as a null value, then the arptables executable located using the PATH option is used.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big>Regardless of how the arptables utility is located (specified via arptables= or located via PATH), Shorewall uses the arptables\u2212restore and arptables\u2212save utilities from that same directory.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>AUTOCOMMENT=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Formerly named AUTO_COMMENT. If set, if there is not a current comment when a macro is invoked, the behavior is as if the first line of the macro file was &#8220;COMMENT <macro name>&#8220;. If not specified, the AUTO_COMMENT option has a default value of &#8216;Yes&#8217;.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>AUTOHELPERS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.5.7. When set to <b>Yes<\/b> (the default), the generated ruleset will automatically associate helpers with applications that require them (FTP, IRC, etc.). When configuring your firewall on systems running kernel 3.5 or later, it is recommended that you:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>1. Set AUTOHELPERS=No.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>2. Modify the HELPERS setting (see below) to list the helpers that you need.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>3. Either:<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>1. Modify<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212conntrack<\/font><\/b><\/big> <font color=\"#000000\">[7] <big>(5) to only apply helpers where they are required; or<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big>2. Specify the appropriate helper in the HELPER column in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5).<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:35%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>Note<\/big><\/b> <br \/> The macros for those applications requiring a helper automatically specify the appropriate HELPER where required.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>AUTOMAKE=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>|<b>recursive<\/b>|<i>depth<\/i>]<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big><big>If set, the behavior of the <b>start<\/b>, <b>reload<\/b> and <b>restart<\/b> commands are changed; if no files in CONFIG_PATH (see below) have been changed since the last successful <b>start, reload<\/b> or <b>restart<\/b> command, then the compilation step is skipped and the compiled script that executed the last <b>start<\/b>, <b>reload<\/b> or <b>restart<\/b> command is used. If not specified, the default is AUTOMAKE=No.<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>The setting of the AUTOMAKE option is ignored if the <b>start<\/b>, <b>reload<\/b> or <b>restart<\/b> command includes a directory name (e.g., <b>shorewall restart \/etc\/shorewall.new<\/b>).<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>When AUTOMAKE=Yes, each directory in the CONFIG_PATH was originally searched recursively for files newer than the compiled script. That was changed in Shorewall 5.1.10.2 such that only the listed directories themselves were searched. That broke some configurations that played tricks with embedded SHELL such as &#8220;<b>SHELL cat \/etc\/shorewall\/rules.d\/loc\/*.rules&#8221;.<\/b> Prior to 5.1.10.2, a change to a file in or adding a file to \/etc\/shorewall\/rules.d\/loc\/ would trigger recompilation. Beginning with 5.1.10.2, such changes would not trigger recompilation. Beginning with Shorewall 5.2.0, the pre\u22125.1.10.2 behavior can be obtained by setting AUTOMAKE=recursive.<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><big>Also beginning with Shorewall 5.2.0, AUTOMAKE may be set to a numeric <i>depth<\/i> which specifies how deeply each listed directory is to be searched. AUTOMAKE=1 only searches each directory itself and is equivalent to AUTOMAKE=Yes. AUTOMAKE=2 will search each directory and its immediate sub\u2212directories; AUTOMAKE=3 will search each directory, each of its immediate sub\u2212directories, and each of their immediate sub\u2212directories, etc.<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><big><big><b>BALANCE_PROVIDERS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><font color=\"#000000\"><big><big>Added in Shorewall 5.1.1. When USE_DEFAULT_RT=Yes, this option determines whether the <b>balance<\/b> provider option (see<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212providers(5)<\/font><\/b><\/big> <font color=\"#000000\">[9] <big>) is the default. When BALANCE_PROVIDERS=Yes, then the <b>balance<\/b> option is assumed unless the <b>fallback<\/b>, <b>loose<\/b>, <b>load<\/b> or <b>tproxy<\/b> option is specified. If this option is not set or is set to the empty value, then the default value is the value of USE_DEFAULT_RT.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b>BASIC_FILTERS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>Added in Shorewall\u22124.6.0. When set to <b>Yes<\/b>, causes entries in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212tcfilters(5)<\/font><\/b><\/big> <font color=\"#000000\">[10] <big>to generate a basic filter rather than a u32 filter. This setting requires the Basic Ematch capability in your kernel and iptables.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b><big>Note<\/big><\/b> <br \/> One of the advantages of basic filters is that ipset matches are supported in newer iproute2 and kernel versions. Because Shorewall cannot reliably detect this capability, use of basic filters is controlled by this option.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big>The default value is <b>No<\/b> which causes u32 filters to be generated.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b><big>BLACKLIST=<\/big><\/b><big>[{<b>ALL<\/b>|<i>state<\/i><b>[,&#8230;]<\/b>}]<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>where state is one of NEW, ESTABLISHED, RELATED, INVALID,or UNTRACKED.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.5.13 to replace the BLACKLISTNEWONLY option. Specifies the connection tracking states that are to be subject to blacklist screening. If BLACKLIST is not specified then the states subject to blacklisting are NEW,ESTABLISHED,INVALID,UNTRACKED.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>ALL sends all packets through the blacklist chains.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>Note: The ESTABLISHED state may not be specified if FASTACCEPT=Yes is specified.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big><b>BLACKLIST_DISPOSITION=<\/b>[<b>DROP<\/b>|A_DROP|<b>REJECT|A_REJECT<\/b>]<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>This parameter determines the disposition of packets from blacklisted hosts. It may have the value DROP if the packets are to be dropped or REJECT if the packets are to be replied with an ICMP port unreachable reply or a TCP RST (tcp only). If you do not assign a value or if you assign an empty value then DROP is assumed.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>A_DROP and A_REJECT are audited versions of DROP and REJECT respectively and were added in Shorewall 4.4.20. They require AUDIT_TARGET in the kernel and iptables.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>The BLACKLIST_DISPOSITION setting determines the disposition of packets sent to the <b>blacklog<\/b> target of<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212blrules<\/font><\/b><\/big> <font color=\"#000000\">[11] <big>(5), but otherwise does not affect entries in that file.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b>BLACKLIST_LOG_LEVEL=<\/b>[<i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]]<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>Formerly named BLACKLIST_LOGLEVEL. This parameter determines if packets from blacklisted hosts are logged and it determines the syslog level that they are to be logged at. Its value is a syslog level (Example: BLACKLIST_LOG_LEVEL=debug). If you do not assign a value or if you assign an empty value then packets from blacklisted hosts are not logged. The setting determines the log level of packets sent to the <b>blacklog<\/b> target of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212blrules<\/font><\/b><\/big> <font color=\"#000000\">[11] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b>CLAMPMSS=[Yes<\/b>|<b>No<\/b>|<i>value<\/i>]<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>This parameter enables the TCP Clamp MSS to PMTU feature of Netfilter and is usually required when your internet connection is through PPPoE or PPTP. If set to <b>Yes<\/b> or <b>yes<\/b>, the feature is enabled. If left blank or set to <b>No<\/b> or <b>no<\/b>, the feature is not enabled.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b>Important<\/b>: This option requires CONFIG_IP_NF_TARGET_TCPMSS in your kernel.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>You may also set CLAMPMSS to a numeric <i>value<\/i> (e.g., CLAMPMSS=1400). This will set the MSS field in TCP SYN packets going through the firewall to the <i>value<\/i> that you specify.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b>CLEAR_TC=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>If this option is set to <b>No<\/b> then Shorewall won&#8217;t clear the current traffic control rules during [<b>re<\/b>]<b>start<\/b> or <b>reload<\/b>. This setting is intended for use by people who prefer to configure traffic shaping when the network interfaces come up rather than when the firewall is started. If that is what you want to do, set TC_ENABLED=Yes and CLEAR_TC=No and do not supply an \/etc\/shorewall\/tcstart file. That way, your traffic shaping rules can still use the \u201cfwmark\u201d classifier based on packet marking defined in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212tcrules<\/font><\/b><\/big> <font color=\"#000000\">[12] <big>(5). If not specified, CLEAR_TC=Yes is assumed.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b><big>Warning<\/big><\/b> <br \/> When you specify TC_ENABLED=shared (see below), then you should also specify CLEAR_TC=No.<\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><b><big>COMPLETE=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.12. When you set this option to Yes, you are asserting that the configuration is complete so that your set of zones encompasses any hosts that can send or receive traffic to\/from\/through the firewall. This causes Shorewall to omit the rules that catch packets in which the source or destination IP address is outside of any of your zones. Default is No. It is recommended that this option only be set to Yes if:<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>\u2022 You have defined an interface whose effective physical setting is &#8216;+&#8217;.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>\u2022 That interface is assigned to a zone.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>\u2022 You have no CONTINUE policies or rules.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><b>CONFIG_PATH<\/b>=[[:]<i>directory<\/i>[:<i>directory<\/i>]&#8230;]<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big>Specifies where configuration files other than shorewall[6].conf may be found. CONFIG_PATH is specifies as a list of directory names separated by colons (&#8220;:&#8221;). When looking for a configuration file:<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>\u2022 If the command is &#8220;try&#8221; or a &#8220;<configuration directory>&#8221; was specified in the command (e.g., <b>shorewall [\u22126] check .\/gateway<\/b>) then the directory given in the command is searched first.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>\u2022 Next, each directory in the CONFIG_PATH setting is searched in sequence.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>If CONFIG_PATH is not given or if it is set to the empty value then the contents of \/usr\/share\/shorewall\/configpath are used. As released from shorewall.net, that file sets the CONFIG_PATH to \/etc\/shorewall:\/usr\/share\/shorewall but your particular distribution may set it differently. See the output of shorewall show config for the default on your system.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big>Beginning with Shorewall 5.1.10, the CONFIG_PATH setting may begin with a colon (&#8220;:&#8221;), to signal that the first <i>directory<\/i> listed will be skipped if the user performing a compilation is not root or if the configuration is being compiled for export (\u2212e option specified or if running one of the remote\u2212* commands) . This prevents the compiler from looking in \/etc\/shorewall6\/ when compilation is being done by a non\u2212root user or if the generated script is to be sent to a remote firewall system.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><b>DEFER_DNS_RESOLUTION=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.5.12. When set to &#8216;Yes&#8217; (the default), DNS names are validated in the compiler and then passed on to the generated script where they are resolved by ip[6]tables\u2212restore. This is an advantage if you use AUTOMAKE=Yes and the IP address associated with the DNS name is subject to change. When DEFER_DNS_RESOLUTION=No, DNS names are converted into IP addresses by the compiler. This has the advantage that when AUTOMAKE=Yes, the <b>start<\/b>, <b>reload<\/b> and <b>restart<\/b> commands will succeed even if no DNS server is reachable (assuming that the configuration hasn&#8217;t changed since the compiled script was last generated).<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><b><big>Important<\/big><\/b> <br \/> When DEFER_DNS_RESOLUTION=No and AUTOMAKE=Yes and a DNS change makes it necessary to recompile an existing firewall script, the <b>\u2212c<\/b> option must be used with the <b>reload<\/b> or <b>restart<\/b> command to force recompilation.<\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><b><big>DELETE_THEN_ADD=<\/big><\/b><big>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big><big>If set to Yes (the default value), entries in the \/etc\/shorewall[6]\/rtrules files cause an &#8216;ip rule del&#8217; command to be generated in addition to an &#8216;ip rule add&#8217; command. Setting this option to No, causes the &#8216;ip rule del&#8217; command to be omitted.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big><b>DETECT_DNAT_IPADDRS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big><big>IPv4 only.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big>If set to <b>Yes<\/b> or <b>yes<\/b>, Shorewall will detect the first IP address of the interface to the source zone and will include this address in DNAT rules as the original destination IP address. If set to <b>No<\/b> or <b>no<\/b>, Shorewall will not detect this address and any destination IP address will match the DNAT rule. If not specified or empty, \u201cDETECT_DNAT_IPADDRS=Yes\u201d is assumed.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big><b>DISABLE_IPV6=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big><big><big>IPv4 only.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big>If set to <b>Yes<\/b> or <b>yes<\/b>, IPv6 traffic to, from and through the firewall system is disabled. If set to <b>No<\/b> or <b>no<\/b>, Shorewall will take no action with respect to allowing or disallowing IPv6 traffic. If not specified or empty, \u201cDISABLE_IPV6=No\u201d is assumed.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big>It is important to note that changing DISABLE_IPV6=Yes to DISABLE_IPV6=No does <i>not<\/i> enable IPV6. The recommended approach for enabling IPv6 on your system is:<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big><big><big>\u2022 Install, configure and start<\/big><\/big><\/big><\/font> <big><big><big><b><font color=\"#0000FF\">Shorewall6<\/font><\/b><\/big> <font color=\"#000000\">[13] <big>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Change DISABLE_IPV6=Yes to DISABLE_IPV6=No in \/etc\/shorewall\/shorewall.conf.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Reload Shorewall<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>DOCKER=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.6; IPv4 only. When set to <b>Yes<\/b>, the generated script will save Docker\u2212generated rules before and restore them after executing the <b>start<\/b>, <b>stop<\/b>, <b>reload<\/b> and <b>restart<\/b> commands. If set to <b>No<\/b> (the default), the generated script will delete any Docker\u2212generated rules when executing those commands. See<\/big><\/font><big><b><font color=\"#0000FF\">https:\/\/shorewall.org\/Docker.html<\/font><\/b><\/big> <font color=\"#000000\">[14] <big>for additional information.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>DOCKER_BRIDGE=<\/b>[<i>bridgename<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.2.4; IPv4 only. Specifies the name of the default Docker bridge. If not specified, the value &#8216;docker0&#8217; is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>DONT_LOAD=<\/b>[<i>module<\/i>[,<i>module<\/i>]&#8230;]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big>Causes Shorewall to not load the listed kernel modules.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>DYNAMIC_BLACKLIST=<\/b>{<b>Yes<\/b>|<b>No<\/b>||<b>ipset<\/b>[<b>\u2212only<\/b>][<i>,option<\/i>[,&#8230;]][:[<i>setname<\/i>][:<i>log_level<\/i>|:l<i>og_tag<\/i>]]]}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.7. When set to <b>No<\/b> or <b>no<\/b>, chain\u2212based dynamic blacklisting using <b>shorewall [\u22126] [\u2212l] drop<\/b>, <b>shorewall [\u22126] [\u2212l] reject<\/b>, <b>shorewall logdrop<\/b> and <b>shorewall [\u22126] [\u2212l] logreject<\/b> is disabled. Default is <b>Yes<\/b>. Beginning with Shorewall 5.0.8, ipset\u2212based dynamic blacklisting using the <b>shorewall blacklist<\/b> command is also supported. The name of the set (<i>setname<\/i>) and the level (<i>log_level<\/i>), if any, at which blacklisted traffic is to be logged may also be specified. The default IPv4 set name is SW_DBL4 and the default IPv6 set name is SW_DBL6. The default log level is <b>none<\/b> (no logging). If <b>ipset\u2212only<\/b> is given, then chain\u2212based dynamic blacklisting is disabled just as if DYNAMIC_BLACKLISTING=No had been specified.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big>Possible <i>option<\/i>s are:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big>src\u2212dst<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><font color=\"#000000\"><big>Normally, only packets whose source address matches an entry in the ipset are dropped. If <b>src\u2212dst<\/b> is included, then packets whose destination address matches an entry in the ipset are also dropped.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>disconnect<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><font color=\"#000000\"><big>The <b>disconnect<\/b> option was added in Shorewall 5.0.13 and requires that the conntrack utility be installed on the firewall system. When an address is blacklisted using the <b>blacklist<\/b> command, all connections originating from that address are disconnected. if the <b>src\u2212dst<\/b> option was also specified, then all connections to that address are also disconnected.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b>timeout<\/b>=<i>seconds<\/i><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.13. Normally, Shorewall creates the dynamic blacklisting ipset with timeout 0 which means that entries are permanent. If you want entries in the set that are not accessed for a period of time to be deleted from the set, you may specify that period using this option. Note that the <b>blacklist<\/b> command can override the ipset&#8217;s timeout setting.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> Once the dynamic blacklisting ipset has been created, changing this option setting requires a complete restart of the firewall; <b>shorewall [\u22126] restart<\/b> if RESTART=restart, otherwise <b>shorewall [\u22126] [\u2212l] stop &#038;&#038; shorewall [\u22126] [\u2212l] start<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>log<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 5.2.5. When specified, successful &#8216;blacklist&#8217; and &#8216;allow&#8217; commands will log a message to the system log.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>noupdate<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 5.2.5. Normally, once an address has been blacklisted, each time that a packet is received from the packet, the ipset&#8217;s entry for the address is updated to reset the timeout to the value specifyed in the <b>timeout<\/b> option above. Setting the <b>noupdate<\/b> option, inhibits this resetting of the entry&#8217;s timeout. This option is ignored when the <b>timeout<\/b> option is not specified.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>When ipset\u2212based dynamic blacklisting is enabled, the contents of the blacklist will be preserved over <b>stop<\/b>\/<b>reboot<\/b>\/<b>start<\/b> sequences.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big><b>EXPAND_POLICIES=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big><big>Normally, when the SOURCE or DEST columns in shorewall\u2212policy(5) contains &#8216;all&#8217;, a single policy chain is created and thes policy is enforced in that chain. For example, if the policy entry is<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>#SOURCE DEST POLICY LOG <br \/> # LEVEL <br \/> net all DROP info<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>then the chain name is &#8216;net\u2212all&#8217; (&#8216;net2all if ZONE2ZONE=2) which is also the chain named in Shorewall log messages generated as a result of the policy. If EXPAND_POLICIES=Yes, then Shorewall will create a separate chain for each pair of zones covered by the policy. This makes the resulting log messages easier to interpret since the chain in the messages will have a name of the form &#8216;a2b&#8217; where &#8216;a&#8217; is the SOURCE zone and &#8216;b&#8217; is the DEST zone.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big><b>EXPORTMODULES=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.17. When set to Yes when compiling for use by Shorewall Lite (<b>shorewall [\u22126] remote\u2212start<\/b>, <b>shorewall [\u22126] remote\u2212reload, shorewall [\u22126] remote\u2212restart<\/b> or <b>shorewall [\u22126] export<\/b> commands), the compiler will copy the modules or helpers file from the administrative system into the script. When set to No or not specified, the compiler will not copy the modules or helpers file from \/usr\/share\/shorewall6 but will copy those found in another location on the CONFIG_PATH.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>When compiling for direct use by Shorewall, causes the contents of the local module or helpers file to be copied into the compiled script. When set to No or not set, the compiled script reads the file itself.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big><b>FASTACCEPT=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><font color=\"#000000\"><big><big>Normally, Shorewall defers accepting ESTABLISHED\/RELATED packets until these packets reach the chain in which the original connection was accepted. So for packets going from the &#8216;loc&#8217; zone to the &#8216;net&#8217; zone, ESTABLISHED\/RELATED packets are ACCEPTED in the &#8216;loc\u2212net&#8217; or &#8216;loc2net&#8217; chain, depending on the setting of ZONE2ZONE (see below).<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><font color=\"#000000\"><big><big>If you set FASTACCEPT=Yes, then ESTABLISHED\/RELATED packets are accepted early in the INPUT, FORWARD and OUTPUT chains. If you set FASTACCEPT=Yes then you may not include rules in the ESTABLISHED or RELATED sections of<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>FIREWALL<\/b>=[<i>dnsname\u2212or\u2212ip\u2212address<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>This option was added in Shorewall 5.0.13 and may be used on an administrative system in directories containing the configurations of remote firewalls. The contents of the variable are the default value for the <i>system<\/i> parameter to the <b>remote\u2212start<\/b>, <b>remote\u2212reload<\/b> and <b>remote\u2212restart<\/b> commands.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>FORWARD_CLEAR_MARK=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.11. Traditionally, Shorewall has cleared the packet mark in the first rule in the mangle FORWARD chain. This behavior is maintained with the default setting of this option (FORWARD_CLEAR_MARK=Yes). If FORWARD_CLEAR_MARK is set to &#8216;No&#8217;, packet marks set in the mangle PREROUTING chain are retained in the FORWARD chains.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>GEOIPDIR<\/b>=[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.4. Specifies the pathname of the directory containing the GeoIP Match database. See<\/big><\/font> <big><b><font color=\"#0000FF\">https:\/\/shorewall.org\/ISO\u22123661.html<\/font><\/b><\/big> <font color=\"#000000\">[15] <big>. If not specified, the default value is \/usr\/share\/xt_geoip\/LE which is the default location of the little\u2212endian database.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>HELPERS<\/b>=[<i>helper<\/i>[,<i>helper<\/i>&#8230;]]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.7. This option specifies a comma\u2212separated list naming the Netfilter application helpers that are to be enabled. If not specified, the default is to enable all helpers.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>Possible values for <i>helper<\/i> are:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>amanda<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>ftp<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>h323<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>irc<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>netbios\u2212ns<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>none<\/b> \u2212 This special value was added in Shorewall 4.5.16 and indicates that no helpers are to be enabled. It also prevents the compiler for probing for helper support; such probing generates messages on the system log of the form &#8220;xt_CT: No such helper XXX&#8221; where XXX is the helper name. When used, <b>none<\/b> must be the only helper specified.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>pptp<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>sane<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>sip<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>snmp<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 <b>tftp<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>When HELPERS is specified on a system running Kernel 3.5.0 or later, automatic association of helpers to connections is disabled.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IGNOREUNKNOWNVARIABLES=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.11. Normally, if an unknown shell variable is encountered in a configuration file (except in ?IF and ?ELSIF directives), the compiler raises a fatal error. If IGNOREUNKNOWNVARIABLES is set to <b>Yes<\/b>, then such variables simply expand to an empty string. Default is <b>No<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IMPLICIT_CONTINUE=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>When this option is set to <b>Yes<\/b>, it causes subzones to be treated differently with respect to policies.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>Subzones are defined by following their name with &#8220;:&#8221; and a list of parent zones (in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b><\/big> <font color=\"#000000\">[16] <big>(5)). Normally, you want to have a set of special rules for the subzone and if a connection doesn&#8217;t match any of those subzone\u2212specific rules then you want the parent zone rules and policies to be applied; see<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212nesting<\/font><\/b><\/big> <font color=\"#000000\">[17] <big>(5). With IMPLICIT_CONTINUE=Yes, that happens automatically.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>If IMPLICIT_CONTINUE=No or if IMPLICIT_CONTINUE is not set, then subzones are not subject to this special treatment. With IMPLICIT_CONTINUE=Yes, an implicit CONTINUE policy may be overridden by including an explicit policy (one that does not specify &#8220;all&#8221; in either the SOURCE or the DEST columns).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>INVALID_DISPOSITION=[A_DROP|A_REJECT|DROP|REJECT|CONTINUE]<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.13. Shorewall has traditionally passed INVALID packets through the NEW section of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5). When a packet in INVALID state fails to match any rule in the INVALID section, the packet is disposed of based on this setting. The default value is CONTINUE for compatibility with earlier versions.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>INVALID_LOG_LEVEL=<\/b><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.13. Packets in the INVALID state that do not match any rule in the INVALID section of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5) are logged at this level. The default value is empty which means no logging is performed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IP<\/b>=[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>If specified, gives the pathname of the &#8216;ip&#8217; executable. If not specified, &#8216;ip&#8217; is assumed and the utility will be located using the current PATH setting.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IP_FORWARDING=<\/b>[<b>On<\/b>|<b>Off<\/b>|<b>Keep<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>This IPv4 parameter determines whether Shorewall enables or disables IPv4 Packet Forwarding (\/proc\/sys\/net\/ipv4\/ip_forward). In an IPv6 configuration, this parameter determines the setting of \/proc\/sys\/net\/ipv6\/config\/all\/ip_forwarding.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>Possible values are:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>On<\/b> or <b>on<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>packet forwarding will be enabled.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>Off<\/b> or <b>off<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>packet forwarding will be disabled.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>Keep<\/b> or <b>keep<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Shorewall will neither enable nor disable packet forwarding.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>If this variable is not set or is given an empty value (IP_FORWARD=&#8221;&#8221;) then IP_FORWARD=On is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IPSET<\/b>=[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>If specified, gives the pathname of the &#8216;ipset&#8217; executable. If not specified, &#8216;ipset&#8217; is assumed and the utility will be located using the current PATH setting.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IPSET_WARNINGS=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.2. Default is Yes. When set, causes the rules compiler to issue a warning when:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 The compiler is being run by root and an ipset specified in the configuration does not exists. Only one warning is issued for each missing ipset.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 When [src] is specified in a destination column and when [dst] is specified in a source column.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IPTABLES=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>This parameter names the iptables executable to be used by Shorewall. If not specified or if specified as a null value, then the iptables executable located using the PATH option is used.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>Regardless of how the iptables utility is located (specified via IPTABLES= or located via PATH), Shorewall uses the iptables\u2212restore and iptables\u2212save utilities from that same directory.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>IP6TABLES=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>IPv6 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>This parameter names the ip6tables executable to be used by Shorewall6. If not specified or if specified as a null value, then the ip6tables executable located using the PATH option is used.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big>Regardless of how the ip6tables utility is located (specified via IP6TABLES= or located via PATH), Shorewall6 uses the ip6tables\u2212restore and ip6tables\u2212save utilities from that same directory.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b>KEEP_RT_TABLES=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4: When set to <b>Yes<\/b>, this option prevents generated scripts from altering the \/etc\/iproute2\/rt_tables database when there are entries in \/etc\/shorewall\/providers. If you set this option to <b>Yes<\/b> while Shorewall (Shorewall\u2212lite) is running, you should remove the file \/var\/lib\/shorewall\/rt_tables (\/var\/lib\/shorewall\u2212lite\/rt_tables) before your next <b>stop<\/b>, <b>restore<\/b>, <b>reload<\/b> or <b>restart<\/b> command. IPv6: When set to <b>Yes<\/b>, this option prevents scripts generated by Shorewall6 from altering the \/etc\/iproute2\/rt_tables database when there are entries in \/etc\/shorewall6\/providers. If you set this option to <b>Yes<\/b> while Shorewall6 (Shorewall6\u2212lite) is running, you should remove the file \/var\/lib\/shorewall6\/rt_tables (\/var\/lib\/shorewall6\u2212lite\/rt_tables) before your next <b>stop<\/b>, <b>restore<\/b>, <b>reload<\/b> or <b>restart<\/b> command.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> When both IPv4 and IPv6 Shorewall configurations are present, KEEP_RT_TABLES=No should be specified in only one of the two configurations unless the two provider configurations are identical with respect to interface and provider names and numbers.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big>The default is KEEP_RT_TABLES=No.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>LOAD_HELPERS_ONLY=<\/big><\/b><big>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.7. When set to Yes, restricts the set of modules loaded by shorewall to those listed in \/var\/lib\/shorewall[6]\/helpers and those that are actually used. When not set, or set to the empty value, LOAD_HELPERS_ONLY=No is assumed in Shorewall versions 5.2.2 and earlier. Beginning with Shorewall 5.2.3, the LOAD_HELPERS_ONLY option is removed, and the behavior is as if LOAD_HELPERS_ONLY=Yes had been specified.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>LOCKFILE<\/b>=[<i>pathname<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big><big>Specifies the name of the Shorewall[6] lock file, used to prevent simultaneous state\u2212changing commands. If not specified, ${VARDIR}\/shorewall[6]\/lock is assumed (${VARDIR} is normally \/var\/lib but can be changed when Shorewall\u2212core is installed \u2212\u2212 see the output of <b>shorewall show vardir<\/b>).<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>LOG_BACKEND=<\/b>[<i>backend<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.6.4. LOG_BACKEND determines the logging backend to be used for the <b>iptrace<\/b> command (see<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall(8)<\/font><\/b><\/big> <font color=\"#000000\">[18] <big>).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><i>backend<\/i> is one of:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>LOG<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Use standard kernel logging.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>ULOG<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Use ULOG logging to ulogd.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>netlink<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Use netlink logging to ulogd version 2 or later.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOG_ZONE=<\/b>[<b>src|dst|both<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.2.0. When a log message is issued from a chain that relates to a pair of zones (e.g, &#8216;fw\u2212net&#8217;), the chain name normally appears in the log message (unless LOGTAGONLY=Yes and a log tag is specified). This can prevent OPTIMIZE category 8 from combining chains which are identical except for the names of the zones involved. LOG_ZONE allows for only the source or destination zone to appear in the messages by setting LOG_ZONE to <b>src<\/b> or <b>dest<\/b> respectively. If LOG_ZONE=<b>both<\/b> (the default), then the full chain name is included in log messages.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOG_LEVEL=<\/b><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.1.2. Beginning with that release, the sample configurations use this as the default log level and changing it will change all packet logging done by the configuration. In any configuration file (except<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212params(5)<\/font><\/b><\/big> <font color=\"#000000\">[19] <big>), $LOG_LEVEL will expand to this value.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOG_MARTIANS=<\/b>[<b>Yes<\/b>|<b>No<\/b>|Keep]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>If set to <b>Yes<\/b> or <b>yes<\/b>, sets \/proc\/sys\/net\/ipv4\/conf\/all\/log_martians \/proc\/sys\/net\/ipv4\/conf\/bnep0\/log_martians \/proc\/sys\/net\/ipv4\/conf\/default\/log_martians \/proc\/sys\/net\/ipv4\/conf\/lo\/log_martians \/proc\/sys\/net\/ipv4\/conf\/wlp0s21f0u7i2\/log_martians to 1 with the exception of \/proc\/sys\/net\/ipv4\/conf\/all\/log_martians which is set to 0. The default value is <b>Yes<\/b> which sets both of the above to one. If you do not enable martian logging for all interfaces, you may still enable it for individual interfaces using the <b>logmartians<\/b> interface option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>The value <b>Keep<\/b> causes Shorewall to ignore the option. If the option is set to <b>Yes<\/b>, then martians are logged on all interfaces. If the option is set to <b>No<\/b>, then martian logging is disabled on all interfaces except those specified in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOG_VERBOSITY=<\/b>[<i>number<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>This option controls the amount of information logged to the file specified in the STARTUP_LOG option.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Values are:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u22121 \u2212 Logging is disabled <br \/> 0 \u2212 Silent. Only error messages are logged. <br \/> 1 \u2212 Major progress messages logged. <br \/> 2 \u2212 All progress messages logged<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>If not specified, then \u22121 is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOGALLNEW=<\/b>[<i>log\u2212level<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>This option is intended for use as a debugging aid. When set to a log level, this option causes Shorewall to generate a logging rule as the first rule in each builtin chain.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 The table name is used as the chain name in the log prefix.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 The chain name is used as the target in the log prefix.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>For example, using the default LOGFORMAT, the log prefix for logging from the nat table&#8217;s PREROUTING chain is as follows in versions prior to 5.1.0:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>Shorewall:nat:PREROUTING<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>In Shorewall 5.1.0 and later releases, the log prefix is:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big>nat:PREROUTING<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> To help insure that all packets in the NEW state are logged, rate limiting (LOGLIMIT) should be disabled when using LOGALLNEW. Use LOGALLNEW at your own risk; it may cause high CPU and disk utilization and you may not be able to control your firewall after you enable this option.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Caution<\/big><\/b> <br \/> Do not use this option if the resulting log messages will be sent to another system.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>LOGFILE=<\/big><\/b><big>[<i>pathname<\/i>|<b>systemd<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>This parameter tells the \/sbin\/shorewall program where to look for Shorewall messages when processing the <b>dump<\/b>, <b>logwatch<\/b>, <b>show log<\/b>, and <b>hits<\/b> commands. If not assigned or if assigned an empty value, \/var\/log\/messages is assumed. For further information, see<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212logging(8)<\/font><\/b><\/big> <font color=\"#000000\">[21] <big>. Beginning with Shorewall 5.0.10.1, you may specify <b>systemd<\/b> to use <b>journelctl \u2212r<\/b> to read the log.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>LOGFORMAT=<\/b>[<b>&#8220;<\/b><i>formattemplate<\/i><b>&#8220;<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The value of this variable generate the \u2212\u2212log\u2212prefix setting for Shorewall logging rules. It contains a \u201cprintf\u201d formatting template which accepts three arguments (the chain name, logging rule number (optional) and the disposition). To use LOGFORMAT with fireparse, set it as:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>LOGFORMAT=&#8221;fp=%s:%d a=%s &#8220;<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If the LOGFORMAT value contains the substring \u201c%d\u201d then the logging rule number is calculated and formatted in that position; if that substring is not included then the rule number is not included. If not supplied or supplied as empty (LOGFORMAT=&#8221;&#8221;) then \u201cShorewall:%s:%s:\u201d is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Note<\/big><\/b> <br \/> The setting of LOGFORMAT has an effect of the permitted length of zone names. See<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b><\/big> <font color=\"#000000\">[16] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Caution<\/big><\/b> <br \/> Beginning with Shorewall 5.1.0, the default and sample shorewall[6].conf files set LOGFORMAT=&#8221;%s %s &#8220;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Regardless of the LOGFORMAT setting, Shorewall IPv4 log messages that use this LOGFORMAT can be uniquely identified using the following regular expression:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>&#8216;IN=.* OUT=.* SRC=.*..* DST=&#8217;<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>and Shorewall IPv6 log messages can be uniquely identified using the following regular expression:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>&#8216;IN=.* OUT=.* SRC=.*:.* DST=&#8217;<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>To match all Netfilter log messages (Both IPv4 and IPv6 and regardless of the LOGFORMAT setting), use:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>&#8216;IN=.* OUT=.* SRC=.* DST=&#8217;<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>LOGLIMIT=[<\/big><\/b><big>[{<i>s<\/i>|<b>d<\/b>}:]<i>rate<\/i><b>\/<\/b>{<b>sec<\/b>|<b>second|min<\/b>|<b>minute|hour<\/b>|<b>day<\/b>}[:<i>burst<\/i>]]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.12. Limits the logging rate, either overall, or by source or destination IP address.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If the value starts with &#8216;s:&#8217; then logging is limited per source IP. If the value starts with &#8216;d:&#8217;, then logging is limited per destination IP. Otherwise, the overall logging rate is limited.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If <i>burst<\/i> is not specified, then a value of 5 is assumed.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>The keywords <b>second<\/b> and <b>minute<\/b> are accepted beginning with Shorewall 4.6.13.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>LOGTAGONLY=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Using LOGFORMAT=\u201cShorewall:%s:%s:\u201d, chain names may not exceed 5 characters or truncation of the log prefix may occur. Longer chain names may be used with log tags if you set LOGTAGONLY=Yes. With LOGTAGONLY=Yes, if a log tag is specified then the tag is included in the log prefix in place of the chain name.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Beginning with Shorewall 4.5.12, when LOGTAGONLY=Yes, you have more control over the generated log prefix. Beginning with that release, the tag is interpreted as a <i>chain name<\/i> and a <i>disposition<\/i> separated by a comma. So this rule:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>#ACTION SOURCE DEST <br \/> LOG:info:foo,bar net fw<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>would generate the following log prefix when using LOGFORMAT=\u201cShorewall:%s:%s:\u201d:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Shorewall:foo:bar:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Similarly,<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>#ACTION SOURCE DEST <br \/> LOG:info:,bar net fw<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>would generate<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Shorewall:net2fw:bar:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>MACLIST_DISPOSITION=<\/b>[<b>ACCEPT<\/b>|<b>DROP<\/b>|<b>REJECT<\/b>|A_DROP|A_REJECT]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Determines the disposition of connections requests that fail MAC Verification and must have the value ACCEPT (accept the connection request anyway), REJECT (reject the connection request) or DROP (ignore the connection request). If not set or if set to the empty value (e.g., MACLIST_DISPOSITION=&#8221;&#8221;) then MACLIST_DISPOSITION=REJECT is assumed.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>A_DROP and A_REJECT are audited versions of DROP and REJECT respectively and were added in Shorewall 4.4.20. They require AUDIT_TARGET in the kernel and ip[6]tables.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>MACLIST_LOG_LEVEL=<\/b>[<i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Determines the syslog level for logging connection requests that fail MAC Verification. The value must be a valid syslogd log level. If you don&#8217;t want to log these connection requests, set to the empty value (e.g., MACLIST_LOG_LEVEL=&#8221;&#8221;).<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>MACLIST_TABLE=<\/b>[<b>filter<\/b>|<b>mangle<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Normally, MAC verification occurs in the filter table (INPUT and FORWARD) chains. When forwarding a packet from an interface with MAC verification to a bridge interface, that doesn&#8217;t work.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>This problem can be worked around by setting MACLIST_TABLE=mangle which will cause Mac verification to occur out of the PREROUTING chain. Because REJECT isn&#8217;t available in that environment, you may not specify MACLIST_DISPOSITION=REJECT or MACLIST_DISPOSITION=A_REJECT with MACLIST_TABLE=mangle.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>MACLIST_TTL=[<\/b><i>number<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>The performance of configurations with a large numbers of entries in<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212maclist<\/font><\/b><\/big> <font color=\"#000000\">[22] <big>(5) can be improved by setting the MACLIST_TTL variable in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall[6].conf<\/font><\/b><\/big> <font color=\"#000000\">[23] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If your iptables and kernel support the &#8220;Recent Match&#8221; (see the output of &#8220;shorewall check&#8221; near the top), you can cache the results of a &#8216;maclist&#8217; file lookup and thus reduce the overhead associated with MAC Verification.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When a new connection arrives from a &#8216;maclist&#8217; interface, the packet passes through then list of entries for that interface in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212maclist<\/font><\/b><\/big> <font color=\"#000000\">[22] <big>(5). If there is a match then the source IP address is added to the &#8216;Recent&#8217; set for that interface. Subsequent connection attempts from that IP address occurring within $MACLIST_TTL seconds will be accepted without having to scan all of the entries. After $MACLIST_TTL from the first accepted connection request from an IP address, the next connection request from that IP address will be checked against the entire list.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If MACLIST_TTL is not specified or is specified as empty (e.g, MACLIST_TTL=&#8221;&#8221; or is specified as zero then &#8216;maclist&#8217; lookups will not be cached).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MANGLE_ENABLED=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Determines whether Shorewall will generate rules in the Netfilter mangle table. Setting MANGLE_ENABLED=No disables all Shorewall features that require the mangle table. The default is MANGLE_ENABLED=Yes.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MINIUPNPD=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.8. If set to Yes, Shorewall will create a chain in the nat table named MINIUPNPD\u2212POSTROUTING and will add jumps from POSTROUTING to that chain for each interface with the <b>upnpd<\/b> option specified. Default is No.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MARK_IN_FORWARD_CHAIN=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If your kernel has a FORWARD chain in the mangle table, you may set MARK_IN_FORWARD_CHAIN=Yes to cause the marking specified in the tcrules file to occur in that chain rather than in the PREROUTING chain. This permits you to mark inbound traffic based on its destination address when DNAT is in use. To determine if your kernel has a FORWARD chain in the mangle table, use the <b>shorewall [\u22126] show mangle<\/b> command; if a FORWARD chain is displayed then your kernel will support this option. If this option is not specified or if it is given the empty value (e.g., MARK_IN_FORWARD_CHAIN=&#8221;&#8221;) then MARK_IN_FORWARD_CHAIN=No is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MASK_BITS<\/b>=[<i>number<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.26. Number of bits on the right of the 32\u2212bit packet mark to be masked when clearing the traffic shaping mark. Must be >= TC_BITS and <= PROVIDER_OFFSET (if PROVIDER_OFFSET > 0). Prior to Shorewall 5.0.0, default value and the default values of the other mark layout options is determined as follows:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>Table\u00a01.\u00a0Default Packet Mark Layout<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/table>\n<p align=\"center\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><img decoding=\"async\" src=\"grohtml-1217361.png\" alt=\"Image grohtml-1217361.png\"><\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>From 5.0.0 onward, the default value of MASK_BITS is 8, the default value of PROVIDER_BITS, TC_BITS, MASK_BITS and PROVIDER_OFFSET is 8.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MODULESDIR=<\/b>[[+]<i>pathname<\/i>[<b>:<\/b><i>pathname<\/i>]&#8230;]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>This parameter specifies the directory\/directories where your kernel netfilter modules may be found. If you leave the variable empty, Shorewall will supply the value &#8220;\/lib\/modules\/$uname\/kernel\/net\/ipv${g_family}\/netfilter:\/lib\/modules\/$uname\/kernel\/net\/netfilter:\/lib\/modules\/$uname\/kernel\/net\/sched:\/lib\/modules\/$uname\/extra:\/lib\/modules\/$uname\/extra\/ipset&#8221; where <b>uname<\/b> holds the output of &#8216;<b>uname \u2212r<\/b>&#8216; and <b>g_family<\/b> holds &#8216;4&#8217; in IPv4 configurations and &#8216;6&#8217; in IPv6 configurations.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The option plus sign (&#8216;+&#8217;) was added in Shorewall 5.0.3 and causes the listed pathnames to be appended to the default list above.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MULTICAST=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>This option will normally be set to &#8216;No&#8217; (the default). It should be set to &#8216;Yes&#8217; under the following circumstances:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>1. You have an interface that has parallel zones defined via \/etc\/shorewall\/hosts.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>2. You want to forward multicast packets to two or more of those parallel zones.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>In such cases, you will configure a <b>destonly<\/b> network on each zone receiving multicasts.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>MUTEX_TIMEOUT=<\/b>[<i>seconds<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The value of this variable determines the number of seconds that programs will wait for exclusive access to the Shorewall[6] lock file. After the number of seconds corresponding to the value of this variable, programs will assume that the last program to hold the lock died without releasing the lock.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If not set or set to the empty value, a value of 60 (60 seconds) is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>An appropriate value for this parameter would be twice the length of time that it takes your firewall system to process a <b>shorewall [\u22126] restart<\/b> command.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>NFACCT=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.7. Specifies the pathname of the nfacct utility. If not specified, Shorewall will use the PATH setting to find the program.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>NULL_ROUTE_RFC1918=<\/b>[<b>Yes<\/b>|<b>No<\/b>|<b>blackhole<\/b>|<b>unreachable<\/b>|<b>prohibit<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When set to Yes, causes Shorewall to null\u2212route the IPv4 address ranges reserved by RFC1918. The default value is &#8216;No&#8217;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When combined with route filtering (ROUTE_FILTER=Yes or <b>routefilter<\/b> in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)), this option ensures that packets with an RFC1918 source address are only accepted from interfaces having known routes to networks using such addresses.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning with Shorewall 4.5.15, you may specify <b>blackhole<\/b>, <b>unreachable<\/b> or <b>prohibit<\/b> to set the type of route to be created. See<\/big><\/font> <big><b><font color=\"#0000FF\">https:\/\/shorewall.org\/MultiISP.html#null_routing<\/font><\/b><\/big> <font color=\"#000000\">[24] <big>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>OPTIMIZE=<\/b>[<i>value<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The specified <i>value<\/i> enables certain optimizations. Each optimization category is associated with a power of two. To enable multiple optimization categories, simply add their corresponding numbers together.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning with Shorewall 4.5.20, you may specify OPTIMIZE=All to enable all optimization categories, and you may also specify OPTIMIZE=None to disable optimization.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Optimization category 1 \u2212 Traditionally, Shorewall has created rules for the complete matrix of host groups defined by the zones, interfaces and hosts files. Any traffic that didn&#8217;t correspond to an element of that matrix was rejected in one of the built\u2212in chains. When the matrix is sparse, this results in lots of largely useless rules.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>These extra rules can be eliminated by setting the 1 bit in OPTIMIZE.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The 1 bit setting also controls the suppression of redundant wildcard rules (those specifying &#8220;all&#8221; in the SOURCE or DEST column). A wildcard rule is considered to be redundant when it has the same ACTION and Log Level as the applicable policy.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Note<\/big><\/b> <br \/> Optimization level 1 is ignored when optimization level 4 is also selected, since level 4 performs similar optimizations in a more robust way.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Optimization category 2 \u2212 Added in Shorewall 4.4.7. When set, suppresses superfluous ACCEPT rules in a policy chain that implements an ACCEPT policy. Any ACCEPT rules that immediately precede the final blanket ACCEPT rule in the chain are now omitted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Optimization category 4 \u2212 Added in Shorewall 4.4.7. When set, causes short chains (those with less than 2 rules) to be optimized away. The following chains are excluded from optimization:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 accounting chains (unless OPTIMIZE_ACCOUNTING=Yes)<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 action chains (user\u2212defined)<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 &#8216;blacklst&#8217; chain<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 dynamic<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 forwardUPnP<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 UPnP (nat table)<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Additionally:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 If a built\u2212in chain has a single rule that branches to a second chain, then the rules from the second chain are moved to the built\u2212in chain and the target chain is omitted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Chains with no references are deleted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Accounting chains are subject to optimization if the OPTIMIZE_ACCOUNTING option is set to &#8216;Yes&#8217;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 If a chain ends with an unconditional branch to a second chain (other than to &#8216;reject&#8217;), then the branch is deleted from the first chain and the rules from the second chain are appended to it.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>An additional optimization was added in Shorewall 4.5.4. If the last rule in a chain is an unqualified jump to a simple target, then all immediately preceding rules with the same simple target are omitted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>For example, consider this chain:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\">\n<p><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2212A fw\u2212net \u2212p udp \u2212\u2212dport 67:68 \u2212j ACCEPT<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\">\n<p><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2212A fw\u2212net \u2212p udp \u2212\u2212sport 1194 \u2212j ACCEPT<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\">\n<p><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2212A fw\u2212net \u2212p 41 \u2212j ACCEPT<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\">\n<p><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2212A fw\u2212net \u2212j ACCEPT<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Since all of the rules are jumps to the simple target ACCEPT, this chain is totally optimized away and jumps to the chain are replace with jumps to ACCEPT.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Optimization category 8 \u2212 Added in Shorewall 4.4.9. When set, causes chains with identical rules to be collapsed into a single chain.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Warning<\/big><\/b> <br \/> While Optimization category 8 can significantly reduce the size of the generated iptables ruleset, it can also take significant system resources during compilation. If you find that compilation takes an unreasonably long time, try disabling this category by setting OPTIMIZE=23.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Optimization category 16 \u2212 Added in Shorewall 4.4.26. When set, causes sequences of compatible rules to be combined into a single rule. Rules are considered compatible if they differ only in their destination ports and comments.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>A sequence of compatible rules is often generated when macros are invoked in sequence.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The ability to combine adjacent rules is limited by two factors:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Destination port lists may only be combined up to a maximum of 15 ports, where a port\u2212pair counts as two ports.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 Rules may only be combined until the length of their concatenated comment reaches 255 characters.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When either of these limits would be exceeded, the current combined rule is emitted and the compiler attempts to combine rules beginning with the one that would have exceeded the limit. Adjacent combined comments are separated by &#8216;, &#8216;. Empty comments at the front of a group of combined comments are replaced by &#8216;Others and&#8217;. Empty comments at the end of a group of combined comments are replaced by &#8216;and others&#8217;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning in Shorewall 4.5.10, this option also suppresses duplicate adjacent rules and duplicate non\u2212adjacent rules that don&#8217;t include <b>mark<\/b>, <b>connmark<\/b>, <b>dscp<\/b>, <b>ecn<\/b>, <b>set<\/b>, <b>tos<\/b> or <b>u32<\/b> matches.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Example 1:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Rules with comments &#8220;FOO&#8221;, <empty> and &#8220;BAR&#8221; would result in the combined comment &#8220;FOO and others, BAR&#8221;.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Example 2:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Rules with comments <empty>, &#8220;FOO&#8221; and &#8220;BAR&#8221; would result in the combined comment &#8220;Others and FOO, BAR&#8221;. Note: Optimize level 16 requires &#8220;Extended Multi\u2212port Match&#8221; in your iptables and kernel.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>In versions prior to 5.1.0, the default value is zero which disables all optimizations. Beginning with Shorewall 5.1.0, the default value is <b>All<\/b> which enables all optimizations.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>OPTIMIZE_ACCOUNTING=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.7. If set to Yes, Shorewall accounting changes are subject to optimization (OPTIMIZE=4,5,6 or 7). If not specified or set to the empty value, OPTIMIZE_ACCOUNTING=No is assumed.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PAGER=<\/b><i>pathname<\/i><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 5.0.6. Specifies a path name of a pager program like <b>less<\/b> or <b>more<\/b>. When PAGER is given, the output of verbose <b>status<\/b> commands and the <b>dump<\/b> command are piped through the named program when the output file is a terminal.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Beginning with Shorewall 5.0.12, the default value of this option is the DEFAULT_PAGER setting in shorewallrc.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PATH=<\/b><i>pathname<\/i>[<b>:<\/b><i>pathname<\/i>]&#8230;<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Determines the order in which Shorewall searches directories for executable files.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PERL=<\/b><i>pathname<\/i><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.11 RC1. Specifies the path name of the Perl executable. Default is \/usr\/bin\/perl. If the pathname specified by this option does not exist or the named file is not executable, then Shorewall falls back to \/usr\/bin\/perl<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PERL_HASH_SEED=<\/b><i>seed<\/i><b>|random<\/b><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 5.1.4. Sets the Perl hash <i>seed<\/i> (an integer in the range 0\u221299999) when running the Shorewall rules compiler. If not specified, the value 0 is assumed. If <b>random<\/b> is specified, a random seed will be chosed by Perl. See perlsec(1) for additional information.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PROVIDER_BITS<\/b>=[<i>number<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.26. The number of bits in the 32\u2212bit packet mark to be used for provider numbers. May be zero. See MASK_BITS above for default value.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>PROVIDER_OFFSET<\/b>=[<i>number<\/i>]If<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.26. The offset from the right (low\u2212order end) of the provider number field in the 32\u2212bit packet mark. If non\u2212zero, must be >= TC_BITS (Shorewall automatically adjusts PROVIDER_OFFSET&#8217;s value). PROVIDER_OFFSET + PROVIDER_BITS + ZONE_BITS must be < 32. See MASK_BITS above for default value.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>RCP_COMMAND=&#8221;<\/b><i>command<\/i><b>&#8220;<\/b><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>RSH_COMMAND=&#8221;<\/b><i>command<\/i><b>&#8220;<\/b><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Earlier generations of Shorewall Lite required that remote root login via ssh be enabled in order to use the <b>load<\/b> and <b>reload<\/b> commands. Beginning with release 3.9.5, you may define an alternative means for accessing the remote firewall system. In that release, two new options were added to shorewall.conf:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>RSH_COMMAND <br \/> RCP_COMMAND<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>The default values for these are as follows:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>RSH_COMMAND: ssh ${root}@${system} ${command} <br \/> RCP_COMMAND: scp ${files} ${root}@${system}:${destination}<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Shell variables that will be set when the commands are invoked are as follows:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><i>root<\/i> \u2212 root user. Normally <b>root<\/b> but may be overridden using the &#8216;\u2212r&#8217; option. <i><br \/> system<\/i> \u2212 The name\/IP address of the remote firewall system. <i><br \/> command<\/i> \u2212 For RSH_COMMAND, the command to be executed on the firewall system. <i><br \/> files<\/i> \u2212 For RCP_COMMAND, a space\u2212separated list of files to be copied to the remote firewall system. <i><br \/> destination<\/i> \u2212 The directory on the remote system that the files are to be copied into.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>RELATED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT|CONTINUE]<\/b><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.27. Shorewall has traditionally ACCEPTed RELATED packets that don&#8217;t match any rule in the RELATED section of<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5). Concern about the safety of this practice resulted in the addition of this option. When a packet in RELATED state fails to match any rule in the RELATED section, the packet is disposed of based on this setting. The default value is ACCEPT for compatibility with earlier versions.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RELATED_LOG_LEVEL=<\/b><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.27. Packets in the related state that do not match any rule in the RELATED section of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5) are logged at this level. The default value is empty which means no logging is performed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>REJECT_ACTION=<\/b><i>action<\/i><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.21. When a REJECT target is specified, Shorewall normally handles the response as follows:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 If the destination address of the packet is a broadcast or multicast address, the packet is dropped.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 if the protocol is ICMP (2) then the packet is dropped.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 if the protocol is TCP (6) then the packet is rejected with an RST.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 if the protocol is UDP (17) then the packet is rejected with an &#8216;port\u2212unreachable&#8217; ICMP.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 if the protocol is ICMP (1) then the packet is rejected with a &#8216;host\u2212unreachable&#8217; ICMP.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 if the protocol is ICMP6 (1) then the packet is rejected with a &#8216;icmp6\u2212addr\u2212unreachable&#8217; ICMP6.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>\u2022 otherwise, the packet is rejected with a &#8216;host\u2212prohibited&#8217; ICMP.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>You can modify this behavior by implementing your own <i>action<\/i> that handles REJECT and specifying it&#8217;s name in this option. The <b>nolog<\/b> and <b>noinline<\/b> options will automatically be assumed for the specified <i>action<\/i>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The following action implements the default reject action:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>?format 2 <br \/> #TARGET SOURCE DEST PROTO <br \/> Broadcast(DROP) \u2212 \u2212 \u2212 <br \/> DROP \u2212 \u2212 2 <br \/> INLINE \u2212 \u2212 6 ;; \u2212j REJECT \u2212\u2212reject\u2212with tcp\u2212reset <br \/> ?if __ENHANCED_REJECT <br \/> INLINE \u2212 \u2212 17 ;; \u2212j REJECT <br \/> ?if __IPV4 <br \/> INLINE \u2212 \u2212 1 ;; \u2212j REJECT \u2212\u2212reject\u2212with icmp\u2212host\u2212unreachable <br \/> INLINE \u2212 \u2212 \u2212 ;; \u2212j REJECT \u2212\u2212reject\u2212with icmp\u2212host\u2212prohibited <br \/> ?else <br \/> INLINE \u2212 \u2212 58 ;; \u2212j REJECT \u2212\u2212reject\u2212with icmp6\u2212addr\u2212unreachable <br \/> INLINE \u2212 \u2212 \u2212 ;; \u2212j REJECT \u2212\u2212reject\u2212with icmp6\u2212adm\u2212prohibited <br \/> ?endif <br \/> ?else <br \/> INLINE \u2212 \u2212 \u2212 ;; \u2212j REJECT <br \/> ?endif<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RENAME_COMBINED=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.2.0. Traditionally, when OPTIMIZE category 8 is enabled, identical chains are combined under a name beginning with &#8216;~comb&#8217; or &#8216;~blacklist&#8217;. This behavior is maintained under the default setting RENAME_COMBINED=Yes. If RENAMED_COMBINED=No, the chains are combined under the original name of one of the chains.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>REQUIRE_INTERFACE=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.10. The default is No. If set to Yes, at least one optional interface must be up in order for the firewall to be in the started state. Intended to be used with the<\/big><\/font> <big><b><font color=\"#0000FF\">Shorewall Init Package<\/font><\/b><\/big> <font color=\"#000000\">[25] <big>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RESTART=<\/b>[<b>restart<\/b>|<b>reload<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.1 to replace LEGACY_RESTART which was added in Shorewall 5.0.0. In that release, the <b>reload<\/b> command was redefined to do what <b>restart<\/b> had done in earlier releases and <b>restart<\/b> became a true restart (equivalent to <b>stop<\/b> followed by <b>start<\/b>). When RESTART=reload, the <b>restart<\/b> command performs the same operation as the <b>reload<\/b> command making it compatible with earlier releases. If not specified, RESTART=reload is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RESTORE_DEFAULT_ROUTE=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>This option determines whether to restore the default route saved when here are &#8216;balance&#8217; providers defined but all of them are down.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The default is RESTORE_DEFAULT_ROUTE=Yes which preserves the pre\u22124.2.6 behavior.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>RESTORE_DEFAULT_ROUTE=No is appropriate when you don&#8217;t want a default route in the main table (USE_DEFAULT_RT=No) or in the default table (USE_DEFAULT_RT=Yes) when there are no balance providers available. In that case, RESTORE_DEFAULT_ROUTE=No will cause any default route in the relevant table to be deleted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RESTORE_ROUTEMARKS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.9. When set to <b>Yes<\/b> (the default), provider marks are restored unconditionally at the top of the mangle OUTPUT and PREROUTING chains, even if the saved mark is zero. When this option is set to <b>No<\/b>, the mark is restored only if it is non\u2212zero. If you have problems with IPSEC ESP packets not being routed correctly on output, try setting this option to <b>No<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RESTOREFILE=<\/b><i>filename<\/i><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Specifies the simple name of a file in \/var\/lib\/shorewall to be used as the default restore script in the <b>shorewall [\u22126] save<\/b>, <b>shorewall [\u22126] restore<\/b>, <b>shorewall [\u22126] forget<\/b> and <b>shorewall [6] \u2212f start<\/b> commands.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RETAIN_ALIASES=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>IPv4 only.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>During <b>shorewall star<\/b>t, IP addresses to be added as a consequence of ADD_IP_ALIASES=Yes and ADD_SNAT_ALIASES=Yes are quietly deleted when<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212nat<\/font><\/b><\/big> <font color=\"#000000\">[3] <big>(5) and<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212masq<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>(5) are processed then are re\u2212added later. This is done to help ensure that the addresses can be added with the specified labels but can have the undesirable side effect of causing routes to be quietly deleted. When RETAIN_ALIASES is set to Yes, existing addresses will not be deleted. Regardless of the setting of RETAIN_ALIASES, addresses added during <b>shorewall start<\/b> are still deleted at a subsequent <b>shorewall [stop<\/b>, <b>shorewall reload<\/b> or <b>shorewall restart<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>ROUTE_FILTER=<\/b>[<b>Yes<\/b>|<b>No<\/b>|Keep]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If this parameter is given the value <b>Yes<\/b> or <b>yes<\/b> then route filtering (anti\u2212spoofing) is enabled on all network interfaces which are brought up while Shorewall is in the started state. The default value is <b>no<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The value <b>Keep<\/b> causes Shorewall to ignore the option. If the option is set to <b>Yes<\/b>, then route filtering occurs on all interfaces. If the option is set to <b>No<\/b>, then route filtering is disabled on all interfaces except those specified in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> If you need to disable route filtering on any interface, then you must set ROUTE_FILTER=No then set routefilter=1 or routefilter=2 on those interfaces where you want route filtering. See<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5) for additional details.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>RPFILTER_DISPOSITION=<\/big><\/b><big>[<b>DROP<\/b>|<b>REJECT<\/b>|A_DROP|A_REJECT]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.5.7. Determines the disposition of packets entering from interfaces the <b>rpfilter<\/b> option (see<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)). Packets disposed of by this option are those whose response packets would not be sent through the same interface receiving the packet.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>RPFILTER_LOG_LEVEL=<\/b><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in shorewall 4.5.7. Determines the logging of packets disposed via the RPFILTER_DISPOSITION. The default value is <b>info<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SAVE_ARPTABLES=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.12. If SAVE_ARPTABLES=Yes, then the current arptables contents will be saved by <b>shorewall save<\/b> command and restored by <b>shorewall restore<\/b> command. Default value is No.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SAVE_IPSETS=<\/b>{<b>Yes<\/b>|<b>No|ipv4|<\/b><i>setlist<\/i>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Re\u2212enabled in Shorewall 4.4.6. If SAVE_IPSETS=Yes, then the current contents of your ipsets will be saved by the <b>shorewall stop<\/b> and <b>shorewall save<\/b> commands and restored by the <b>shorewall start<\/b> and <b>shorewall restore<\/b> commands.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning with Shorewall 4.6.4, you can restrict the set of ipsets saved by specifying a setlist (a comma\u2212separated list of ipv4 ipset names). You may also restrict the saved sets to just the ipv4 ones by specifying <b>ipv4<\/b>.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SFILTER_DISPOSITION=<\/b>[<b>DROP<\/b>|<b>REJECT<\/b>|A_DROP|A_REJECT]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.20. Determines the disposition of packets matching the <b>sfilter<\/b> option (see<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)) and of hairpin packets on interfaces without the <b>routeback<\/b> option.<\/big> [26]<\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><b><big>SFILTER_LOG_LEVEL=<\/big><\/b><big><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added on Shorewall 4.4.20. Determines the logging of packets matching the <b>sfilter<\/b> option (see<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)) and of hairpin packets on interfaces without the <b>routeback<\/b> option.<\/big> [27] <big>The default is <b>info<\/b>. If you don&#8217;t wish for these packets to be logged, use SFILTER_LOG_LEVEL=none.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SHOREWALL_SHELL=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>This option is used to specify the shell program to be used to interpret the compiled script. If not specified or specified as a null value, \/bin\/sh is assumed. Using a light\u2212weight shell such as ash or dash can significantly improve performance.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SMURF_DISPOSITION=<\/b>[<b>DROP<\/b>|A_DROP]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.20. The default setting is DROP which causes smurf packets (see the nosmurfs option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)) to be dropped. A_DROP causes the packets to be audited prior to being dropped and requires AUDIT_TARGET support in the kernel and iptables.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SMURF_LOG_LEVEL=<\/b>[<i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Specifies the logging level for smurf packets (see the nosmurfs option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)). If set to the empty value ( SMURF_LOG_LEVEL=&#8221;&#8221; ) then smurfs are not logged.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>STARTUP_ENABLED=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Determines if Shorewall is allowed to start. As released from shorewall.net, this option is set to <b>No<\/b>. When set to <b>Yes<\/b> or <b>yes<\/b>, Shorewall may be started. Used as a guard against Shorewall being accidentally started before it has been configured.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>STARTUP_LOG=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If specified, determines where Shorewall will log the details of each <b>start<\/b>, <b>reload<\/b>, <b>restart<\/b>, <b>try<\/b>, and <b>safe\u2212<\/b>* command. Logging verbosity is determined by the setting of LOG_VERBOSITY above.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>SUBSYSLOCK=<\/b>[<i>pathname<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>This parameter should be set to the name of a file that the firewall should create if it starts successfully and remove when it stops. Creating and removing this file allows Shorewall to work with your distribution&#8217;s initscripts. For OpenSuSE, this should be set to \/var\/lock\/subsys\/shorewall (var\/lock\/subsys\/shorewall\u2212lite if building for export). For Gentoo, it should be set to \/run\/lock\/shorewall (\/run\/lock\/shorewall\u2212lite). For Redhat and derivatives as well as Debian and derivatives, the pathname should be omitted.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> Beginning with Shorewall 5.1.0, this setting is ignored when SERVICEDIR is non\u2212empty in ${SHAREDIR}\/shorewall\/shorewallrc (usually \/usr\/share\/shorewall\/shorewallrc).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>TC<\/big><\/b><big>=[<i>pathname<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If specified, gives the pathname of the &#8216;tc&#8217; executable. If not specified, &#8216;tc&#8217; is assumed and the utility will be located using the current PATH setting.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>TC_BITS<\/b>=[<i>number<\/i>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>The number of bits at the low end of the 32\u2212bit packet mark to be used for traffic shaping marking. May be zero. See MASK_BITS above for default value.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>TC_ENABLED=<\/b>[<b>Yes<\/b>|<b>No<\/b>|<b>Internal<\/b>|<b>Simple<\/b>|<b>Shared<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If you say <b>Yes<\/b> or <b>yes<\/b> here, Shorewall will use a script that you supply to configure traffic shaping. The script must be named &#8216;tcstart&#8217; and must be placed in a directory on your CONFIG_PATH.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If you say <b>No<\/b> or <b>no<\/b> then traffic shaping is not enabled.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>If you set TC_ENABLED=Simple (Shorewall 4.4.6 and later), simple traffic shaping using<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212tcinterfaces<\/font><\/b><\/big> <font color=\"#000000\">[28] <big>(5) and<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212tcpri<\/font><\/b><\/big> <font color=\"#000000\">[29] <big>(5) is enabled.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If you set TC_ENABLED=Internal or internal or leave the option empty then Shorewall will use its builtin traffic shaper (tc4shorewall written by Arne Bernin.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning with Shorewall 4.4.15, you can set TC_ENABLED=Shared. This allows you to configure the tcdevices and tcclasses in your Shorewall6 configuration yet make them available to the compiler when compiling your Shorewall configuration. In addition to setting TC_ENABLED=Shared, you need to create symbolic links from your Shorewall configuration directory (normally \/etc\/shorewall\/) to the tcdevices and tcclasses files in your Shorewall6 configuration directory (normally \/etc\/shorewall6\/).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TC_EXPERT=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Normally, Shorewall tries to protect users from themselves by preventing PREROUTING and OUTPUT tcrules from being applied to packets that have been marked by the &#8216;track&#8217; option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212providers<\/font><\/b><\/big> <font color=\"#000000\">[9] <big>(5).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>If you know what you are doing, you can set TC_EXPERT=Yes and Shorewall will not include these cautionary checks.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TC_PRIOMAP<\/b>=<i>map<\/i><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.6. Determines the mapping of a packet&#8217;s TOS field to priority bands. See<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212tcpri<\/font><\/b><\/big> <font color=\"#000000\">[29] <big>(5). The <i>map<\/i> consists of 16 space\u2212separated digits with values 1, 2 or 3. A value of 1 corresponds to Linux priority 0, 2 to Linux priority 1, and 3 to Linux Priority 2. The first entry gives the priority of TOS value 0, the second of TOS value 1, and so on. See tc\u2212prio(8) for additional information.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>The default setting is TC_PRIOMAP=&#8221;2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2&#8243;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TCP_FLAGS_DISPOSITION=<\/b>[<b>ACCEPT<\/b>|<b>DROP<\/b>|<b>REJECT<\/b>|A_DROP|A_REJECT]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Determines the disposition of TCP packets that fail the checks enabled by the <b>tcpflags<\/b> interface option (see<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b><\/big> <font color=\"#000000\">[20] <big>(5)) and must have a value of ACCEPT (accept the packet), REJECT (send an RST response) or DROP (ignore the packet). If not set or if set to the empty value (e.g., TCP_FLAGS_DISPOSITION=&#8221;&#8221;) then TCP_FLAGS_DISPOSITION=DROP is assumed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>A_DROP and A_REJECT are audited versions of DROP and REJECT respectively and were added in Shorewall 4.4.20. They require AUDIT_TARGET in the kernel and iptables.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TCP_FLAGS_LOG_LEVEL=<\/b>[<i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Determines the syslog level for logging packets that fail the checks enabled by the tcpflags interface option. The value must be a valid syslogd log level. If you don&#8217;t want to log these packets, set to the empty value (e.g., TCP_FLAGS_LOG_LEVEL=&#8221;&#8221;).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TRACK_PROVIDERS=<\/b>{<b>Yes<\/b>|<b>No<\/b>}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.4.3. When set to Yes, causes the <b>track<\/b> option to be assumed on all providers defined in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212providers<\/font><\/b><\/big> <font color=\"#000000\">[9] <big>(5). May be overridden on an individual provider through use of the <b>notrack<\/b> option. The default value is &#8216;No&#8217;.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning in Shorewall 4.4.6, setting this option to &#8216;Yes&#8217; also simplifies PREROUTING rules in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212tcrules<\/font><\/b><\/big> <font color=\"#000000\">[12] <big>(5). Previously, when TC_EXPERT=No, packets arriving through &#8216;tracked&#8217; provider interfaces were unconditionally passed to the PREROUTING tcrules. This was done so that tcrules could reset the packet mark to zero, thus allowing the packet to be routed using the &#8216;main&#8217; routing table. Using the main table allowed dynamic routes (such as those added for VPNs) to be effective. The rtrules file was created to provide a better alternative to clearing the packet mark. As a consequence, passing these packets to PREROUTING complicates things without providing any real benefit. Beginning with Shorewall 4.4.6, when TRACK_PROVIDERS=Yes and TC_EXPERT=No, packets arriving through &#8216;tracked&#8217; interfaces will not be passed to the PREROUTING rules. Since TRACK_PROVIDERS was just introduced in 4.4.3, this change should be transparent to most, if not all, users.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>TRACK_RULES=<\/b>{<b>Yes<\/b>|<b>No<\/b>|File}<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.20. If set to <b>Yes<\/b>, causes the compiler to add a comment to iptables rules to indicate the file name and line number of the configuration entry that generated the rule. If set to <b>No<\/b> (the default), then no such comments are added.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Setting this option to <b>Yes<\/b> requires the Comments capability in iptables and kernel.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Beginning with Shorewall 5.0.5, the option may also be set to <b>File<\/b>. That setting causes similar comments to be added to the .iptables\u2212restore\u2212input file, which is normally created in \/var\/lib\/shorewall.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>UNTRACKED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT|CONTINUE]<\/b><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.13. Shorewall has traditionally passed UNTRACKED packets through the NEW section of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5). When a packet in UNTRACKED state fails to match any rule in the UNTRACKED section, the packet is disposed of based on this setting. The default value is CONTINUE for compatibility with earlier versions.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>UNTRACKED_LOG_LEVEL=<\/b><i>log\u2212level<\/i>[:<i>log\u2212tag<\/i>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.13. Packets in the UNTRACKED state that do not match any rule in the UNTRACKED section of<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b><\/big> <font color=\"#000000\">[8] <big>(5) are logged at this level. The default value is empty which means no logging is performed.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b>USE_DEFAULT_RT=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When set to &#8216;Yes&#8217;, this option causes the Shorewall multi\u2212ISP feature to create a set of routing rules which are resilient to changes in the main routing table. Such changes can occur for a number of reasons, VPNs going up and down being an example. The idea is to send packets through the main table prior to applying any of the Shorewall\u2212generated routing rules. So changes to the main table will affect the routing of packets by default.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>When USE_DEFAULT_RT=Yes:<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>1. Both the DUPLICATE and the COPY columns in<\/big><\/font> <big><b><font color=\"#0000FF\">providers<\/font><\/b><\/big> <font color=\"#000000\">[9] <big>(5) file must remain empty (or contain &#8220;\u2212&#8221;).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>2. The default route is added to the the &#8216;default&#8217; table rather than to the main table.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>3. If running Shorewall 5.1.0 or earlier or if BALANCE_PROVIDERS=Yes (Shorewall 5.1.1 or later), then the <b>balance<\/b> provider option is assumed unless the <b>fallback<\/b>, <b>loose<\/b>, <b>load<\/b> or <b>tproxy<\/b> option is specified.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>4. Packets are sent through the main routing table by a rule with priority 999. In<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rtrules<\/font><\/b><\/big> <font color=\"#000000\">[30] <big>(5), the range 1\u2212998 may be used for inserting rules that bypass the main table.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>5. All provider gateways must be specified explicitly in the GATEWAY column. <b>detect<\/b> may not be specified..if n .sp<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Note<\/big> <br \/> detect<\/b> may be specified for interfaces whose configuration is managed by dhcpcd. Shorewall will use dhcpcd&#8217;s database to find the interface&#8217;s gateway.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>6. You should disable all default route management outside of Shorewall. If a default route is added to the main table while Shorewall is started, then all policy routing will stop working (except for those routing rules in the priority range 1\u2212998).<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big>Prior to Shorewall 4.6.0, if USE_DEFAULT_RT was not set or if it was set to the empty string then USE_DEFAULT_RT=No was assumed. Beginning with Shorewall 4.6.0, the default is USE_DEFAULT_RT=Yes and use of USE_DEFAULT_RT=No is deprecated.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>Warning<\/big><\/b> <br \/> The <b>enable<\/b>, <b>disable<\/b> and <b>reenable<\/b> commands do not work correctly when USE_DEFAULT_RT=No.<\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><b><big>USE_NFLOG_SIZE=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 5.1.5. The second parameter to the NFLOG target specifies how many bytes of the packet to copy to the log; if omitted or if supplied as zero, the entire packet is copied. This feature has traditionally been implemented using the \u2212\u2212nflog\u2212range option to the NFLOG iptables target. Unfortuntely, the \u2212\u2212nflog\u2212range option never worked (the entire packet was always copied). To deal with this issue, the Netfilter team:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>\u2022 Added a warning message when \u2212\u2212nflog\u2212range is used<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>\u2022 Added \u2212\u2212nflog\u2212size which works like \u2212\u2212nflog\u2212range was intended to work.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>When USE_NFLOG_SIZE=Yes, Shorewall will attempt to use the new \u2212\u2212nflog\u2212size feature. If that feature is not available in the running kernel and ip[6]tables, an error is raised.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>When USE_NFLOG_SIZE is not supplied, USE_NFLOG_SIZE=No is assumed. When USE_NFLOG_SIZE is added by shorewall update, it is added with setting No.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>USE_PHYSICAL_NAMES=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.4.27. Normally, when Shorewall creates a Netfilter chain that relates to an interface, it uses the interface&#8217;s logical name as the base of the chain name. For example, if the logical name for an interface is OAKLAND, then the input chain for traffic arriving on that interface would be &#8216;OAKLAND_in&#8217;. If this option is set to Yes, then the physical name of the interface will be used the base of the chain name.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b>USE_RT_NAMES=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Added in Shorewall 4.5.15. When set to &#8216;Yes&#8217;, Shorewall will use routing table (provider) names in the generated script rather than table numbers. When set to &#8216;No&#8217; (the default), routing table numbers will be used.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b><big>Caution<\/big><\/b> <br \/> If you set USE_RT_NAMES=Yes and KEEP_RT_TABLES=Yes, then you must insure that all of your providers have entries in \/etc\/iproute2\/rt_tables as well as the following entries:<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:29%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>255 local <br \/> 254 main <br \/> 253 default <br \/> 250 balance <br \/> 0 unspec<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big>Without these entries, the firewall will fail to start.<\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><b><big>VERBOSE_MESSAGES=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>Added in Shorewall 5.0.9. When Yes (the default), messages produced by the ?INFO and ?WARNING directives include the filename and linenumber of the directive. When set to No, that additional information is omitted. The setting may be overridden on a directive by directive basis by following ?INFO or ?WARNING with &#8216;!&#8217; (no intervening white space).<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><b>VERBOSITY=<\/b>[<i>number<\/i>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>Shorewall has traditionally been very noisy (produced lots of output). You may set the default level of verbosity using the VERBOSITY OPTION.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>Values are:<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>0 \u2212 Silent. You may make it more verbose using the \u2212v <br \/> option <br \/> 1 \u2212 Major progress messages displayed <br \/> 2 \u2212 All progress messages displayed (pre Shorewall\u22123.2.0 <br \/> behavior)<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>If not specified, then 2 is assumed.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><b>WARNOLDCAPVERSION=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>Added in Shorewall 4.5.12. When set to <b>Yes<\/b> (the default), the compiler issues a warning when it finds a capabilities file that doesn&#8217;t specify all of the capabilities supported by the compiler. When WARNOLDCAPVERSION is set to <b>No<\/b>, no warning is issued.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><b>WORKAROUNDS=<\/b>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big>Added in Shorewall 4.6.11. Over time, there have been a number of changes in Shorewall that work around defects in other products such as iptables and ipset. When WORKAROUNDS=Yes, these workarounds are enabled; when WORKAROUNDS=No, they are disabled. If not specified or if specified as empty, WORKAROUNDS=Yes is assumed.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><b><big>Warning<\/big><\/b> <br \/> Do not set WORKAROUNDS=Yes if you need to be able to use Shorewall\u2212generated scripts (such as created by the <b>save<\/b> command) built by Shorewall 4.4.7 or older.<\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><b><big>ZERO_MARKS=<\/big><\/b><big>[<b>Yes<\/b>|<b>No<\/b>]<\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big>Added in Shorewall 5.0.12, this is a workaround for an issue where packet marks are not zeroed by the kernel. It should be set to No (the default) unless you find that incoming packets are being mis\u2212routed for no apparent reasons.<\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><b><big>Caution<\/big><\/b> <br \/> Do not set this option to Yes if you have IPSEC software running on the firewall system.<\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><b><big>ZONE_BITS<\/big><\/b><big>=[<i>number<\/i>]<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Added in Shorewall 4.4.26. When non\u2212zero, enables automatic packet marking by source zone and determines the number of bits in the 32\u2212bit packet mark to be used for the zone mark. Default value is 0.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big><b>ZONE2ZONE<\/b>=[<b>2<\/b>|<b>\u2212<\/b>]<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Added in Shorewall 4.4.4. This option determines how Shorewall constructs chain names involving zone names and\/or &#8216;all&#8217;. Beginning with Shorewall 4.6.0, the default is &#8216;\u2212&#8217; (e.g., fw\u2212net); prior to that release, the default was &#8216;2&#8217; (e.g., fw2net).<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>\/etc\/shorewall\/shorewall.conf<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>\/etc\/shorewall6\/shorewall6.conf<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall(8)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>1.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"25%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-policy<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-policy.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>2.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-accounting<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-accounting.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>3.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-nat<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-nat.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>4.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-masq<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-masq.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>5.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-routestopped<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-routestopped.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>6.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-stoppedrules<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-stoppedrules.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>7.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-conntrack<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-conntrack.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>8.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-rules<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-rules.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>9.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-providers(5)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-providers.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>10.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-tcfilters(5)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-tcfilters.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>11.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-blrules<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-blrules.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>12.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-tcrules<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-tcrules.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>13.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"15%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Shorewall6<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/IPv6Support.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>14.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"51%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/Docker.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"32%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/Docker.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>15.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"54%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/ISO-3661.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"29%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/ISO-3661.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>16.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-zones<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-zones.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>17.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-nesting<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-nesting.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>18.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall(8)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>19.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-params(5)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-params.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>20.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-interfaces<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-interfaces.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>21.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-logging(8)<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-logging.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>22.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-maclist<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-maclist.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>23.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall[6].conf<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall.conf.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>24.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/MultiISP.html#null_routing<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"9%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/MultiISP.html#null_routing<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>25.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Shorewall Init Package<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-init.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>26.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Hairpin packets are packets that are routed out of the same interface that they arrived on.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>27.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>Hairpin packets are packets that are routed out of the same interface that they arrived on.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>28.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-tcinterfaces<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-tcinterfaces.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>29.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-tcpri<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-tcpri.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>30.<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>shorewall-rtrules<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><big><big><big><big><big><big><big><big><big><font color=\"#000000\"><big><big><big><big><big>https:\/\/shorewall.org\/manpages\/shorewall-rtrules.html<\/big><\/big><\/big><\/big><\/big><\/font><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/big><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  shorewall.conf \u2212 Shorewall global configuration file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,793],"class_list":["post-4284","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-shorewall"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4284"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4284\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}