{"id":4343,"date":"2022-12-20T17:49:01","date_gmt":"2022-12-20T20:49:01","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shorewallpolicy-man5\/"},"modified":"2022-12-20T17:49:01","modified_gmt":"2022-12-20T20:49:01","slug":"shorewallpolicy-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shorewallpolicy-man5\/","title":{"rendered":"SHOREWALL&minus;POLICY (man5)"},"content":{"rendered":"<h1 align=\"center\">SHOREWALL\u2212POLICY<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/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\">policy \u2212 Shorewall policy 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=\"37%\">\n<p style=\"margin-top: 1em\"><b>\/etc\/shorewall[6]\/policy<\/b><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This file defines the high\u2212level policy for connections between zones defined in <b><font color=\"#0000FF\">shorewall\u2212zones<\/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\"><b><big>Important<\/big><\/b> <br \/> The order of entries in this file is important<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">This file determines what to do with a new connection request if we don&#8217;t get a match from the<\/font> <b><font color=\"#0000FF\">shorewall\u2212blrules<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5) or<\/font> <b><font color=\"#0000FF\">shorewall\u2212rules<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">(5) files. For each source\/destination pair, the file is processed in order until a match is found (&#8220;all&#8221; will match any source or destination).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b><big>Important<\/big><\/b> <br \/> Intra\u2212zone policies are pre\u2212defined<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">For $FW and for all of the zones defined in<\/font> <b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5), the POLICY for connections from the zone to itself is ACCEPT (with no logging or TCP connection rate limiting) but may be overridden by an entry in this file. The overriding entry must be explicit (specifying the zone name in both SOURCE and DEST) or it must use &#8220;all+&#8221; (Shorewall 4.5.17 or later).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Similarly, if you have IMPLICIT_CONTINUE=Yes in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">(5), then the implicit policy to\/from any sub\u2212zone is CONTINUE. These implicit CONTINUE policies may also be overridden by an explicit entry in this file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The columns in the file are as follows (where the column name is followed by a different name in parentheses, the different name is used in the alternate specification syntax).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>SOURCE<\/b> \u2212 <i>zone<\/i>[,&#8230;[+]]|<b>$FW<\/b>|<b>all[+][!<\/b><i>ezone<\/i><b>[,&#8230;]]<\/b><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Source zone. Must be the name of a zone defined in<\/font> <b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5), $FW, &#8220;all&#8221; or &#8220;all+&#8221;.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Support for <b>all+<\/b> was added in Shorewall 4.5.17. <b>all<\/b> does not override the implicit intra\u2212zone ACCEPT policy while <b>all+<\/b> does.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.0.12, multiple zones may be listed separated by commas. As above, if &#8216;+&#8217; is specified after two or more zone names, then the policy overrides the implicit intra\u2212zone ACCEPT policy if the same <i>zone<\/i> appears in both the SOURCE and DEST columns.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.2.3, a comma\u2212separated list of excluded zones preceded by &#8220;!&#8221; may follow <b>all<\/b> or <b>all+.<\/b><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>DEST<\/b> \u2212 <i>zone<\/i>[,&#8230;[+]]|<b>$FW<\/b>|all[+][!<i>ezone<\/i>[,&#8230;]]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Destination zone. Must be the name of a zone defined in<\/font> <b><font color=\"#0000FF\">shorewall\u2212zones<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">(5), $FW, &#8220;all&#8221; or &#8220;all+&#8221;. If the DEST is a bport zone, then the SOURCE must be &#8220;all&#8221;, &#8220;all+&#8221;, another bport zone associated with the same bridge, or it must be an ipv4 zone that is associated with only the same bridge.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Support for &#8220;all+&#8221; was added in Shorewall 4.5.17. &#8220;all&#8221; does not override the implicit intra\u2212zone ACCEPT policy while &#8220;all+&#8221; does.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.0.12, multiple zones may be listed separated by commas. As above, if &#8216;+&#8217; is specified after two or more zone names, then the policy overrides the implicit intra\u2212zone ACCEPT policy if the same <i>zone<\/i> appears in both the SOURCE and DEST columns.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.2.3, a comma\u2212separated list of excluded zones preceded by &#8220;!&#8221; may follow <b>all<\/b> or <b>all+<\/b>.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>POLICY<\/b> \u2212 {<b>ACCEPT<\/b>|<b>DROP<\/b>|<b>REJECT<\/b>|<b>BLACKLIST<\/b>|<b>CONTINUE<\/b>|<b>QUEUE<\/b>|<b>NFQUEUE<\/b>[([<i>queuenumber<\/i>1[:<i>queuenumber2<\/i>[c]][,bypass]]|bypass)]|<b>NONE<\/b>}[<b>:<\/b>{[+]<i>policy\u2212action<\/i>[:level][,&#8230;]|<b>None<\/b>}]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Policy if no match from the rules file is found.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If the policy is neither CONTINUE nor NONE then the policy may be followed by &#8220;:&#8221; and one of the following:<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">1. The word &#8220;None&#8221; or &#8220;none&#8221;. This causes any default action defined in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">(5) to be omitted for this policy.<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">2. The name of an action with optional parameters enclosed in parentheses. The action will be invoked before the policy is enforced.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Actions can have parameters specified.<\/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 level. 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>level<\/i>] specification may be listeded, separated by commas. The actions are invoked in the order listed. Also beginning with Shorewall 5.1.2, the policy\u2212action list can be prefixed with a plus sign (&#8220;+&#8221;) indicating that the listed actions are in addition to those listed in the related _DEFAULT setting in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">(5).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Possible policies are:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>ACCEPT<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Accept the connection.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>DROP<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Ignore the connection request.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>REJECT<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">For TCP, send RST. For all other, send an &#8220;unreachable&#8221; ICMP.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>BLACKLIST<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Added in Shorewall 5.1.1 and requires that the DYNAMIC_BLACKLIST setting in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">(5) specifies ipset\u2212based dynamic blacklisting. The SOURCE IP address is added to the blacklist ipset and the connection request is ignored.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>QUEUE<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Queue the request for a user\u2212space application such as Snort\u2212inline.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>NFQUEUE<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Queue the request for a user\u2212space application using the nfnetlink_queue mechanism. If a <i>queuenumber1<\/i> is not given, queue zero (0) is assumed. Beginning with Shorewall 4.6.10, a second queue number (queuenumber2) may be given. This specifies a range of queues to use. Packets are then balanced across the given queues. This is useful for multicore systems: start multiple instances of the userspace program on queues x, x+1, .. x+n and use &#8220;x:x+n&#8221;. Packets belonging to the same connection are put into the same nfqueue. Beginning with Shorewall 5.1.0, queuenumber2 may be followed by the letter &#8216;c&#8217; to indicate that the CPU ID will be used as an index to map packets to the queues. The idea is that you can improve performance if there&#8217;s a queue per CPU. Requires the NFQUEUE CPU Fanout capability in your kernel and iptables.<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 4.6.10, the keyword <b>bypass<\/b> can be given. By default, if no userspace program is listening on an NFQUEUE, then all packets that are to be queued are dropped. When this option is used, the NFQUEUE rule behaves like ACCEPT instead.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>CONTINUE<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Pass the connection request past any other rules that it might also match (where the source or destination zone in those rules is a superset of the SOURCE or DEST in this policy). See<\/font> <b><font color=\"#0000FF\">shorewall\u2212nesting<\/font><\/b> <small><font color=\"#000000\">[5]<\/font><\/small> <font color=\"#000000\">(5) for additional information.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b>NONE<\/b><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">Assume that there will never be any packets from this SOURCE to this DEST. Shorewall will not create any infrastructure to handle such packets and you may not have any rules with this SOURCE and DEST in the \/etc\/shorewall\/rules file. If such a packet <b>is<\/b> received, the result is undefined. NONE may not be used if the SOURCE or DEST columns contain the firewall zone ($FW) or &#8220;all&#8221;.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>LOGLEVEL<\/b> (loglevel) \u2212 [<i>log\u2212level<\/i>|<b>ULOG|NFLOG<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Optional \u2212 if supplied, each connection handled under the default POLICY is logged at that level. If not supplied, no log message is generated. See syslog.conf(5) for a description of log levels.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">You may also specify ULOG or NFLOG (must be in upper case). This will log to the ULOG or NFLOG target and will send to a separate log through use of ulogd (<\/font><b><font color=\"#0000FF\">http:\/\/www.netfilter.org\/projects\/ulogd\/index.html<\/font><\/b><font color=\"#000000\">).<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">For a description of logging, see<\/font> <b><font color=\"#0000FF\">shorewall\u2212logging(5)<\/font><\/b> <small><font color=\"#000000\">[6]<\/font><\/small> <font color=\"#000000\">.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If you don&#8217;t want to log but need to specify the following column, place &#8220;\u2212&#8221; here.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>RATE<\/b> (rate) \u2212 [\u2212|<i>limit<\/i>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">where limit is one of:<\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\">[<b>\u2212<\/b>|[{<b>s<\/b>|<b>d<\/b>}[\/<i>vlsm<\/i>]:[[<i>name<\/i>][(ht\u2212buckets,ht\u2212max)]:]]]<i>rate<\/i><b>\/<\/b>{<b>sec<\/b>|<b>min<\/b>|<b>hour<\/b>|<b>day<\/b>}[:<i>burst<\/i>] <br \/> [<i>name<\/i>1:]<i>rate1<\/i><b>\/<\/b>{<b>sec<\/b>|<b>min<\/b>|<b>hour<\/b>|<b>day<\/b>}[:<i>burst1<\/i>],[<i>name<\/i>2:]<i>rate2<\/i><b>\/<\/b>{<b>sec<\/b>|<b>min<\/b>|<b>hour<\/b>|<b>day<\/b>}[:<i>burst2<\/i>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If passed, specifies the maximum TCP connection <i>rate<\/i> and the size of an acceptable <i>burst<\/i>. If not specified, TCP connections are not limited. If the <i>burst<\/i> parameter is omitted, a value of 5 is assumed.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">When <b>s:<\/b> or <b>d:<\/b> is specified, the rate applies per source IP address or per destination IP address respectively. The <i>name<\/i> may be chosen by the user and specifies a hash table to be used to count matching connections. If not give, the name <b>shorewall<\/b> is assumed. Where more than one POLICY or rule specifies the same name, the connections counts for the policies are aggregated and the individual rates apply to the aggregated count. Beginning with Shorewall 5.2.1, the <b>s<\/b> or <b>d<\/b> may be followed by a slash (&#8220;\/&#8221;) and an integer <i>vlsm<\/i>. When a <i>vlsm<\/i> is specified, all source or destination addresses encountered will be grouped according to the given prefix length and the so\u2212created subnet will be subject to the rate limit.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 4.6.5, two <i>limit<\/i>s may be specified, separated by a comma. In this case, the first limit (<i>name1<\/i>, <i>rate1<\/i>, burst1) specifies the per\u2212source IP limit and the second limit specifies the per\u2212destination IP limit.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Example: <b>client:10\/sec:20,:60\/sec:100<\/b><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Beginning with Shorewall 5.2.1, the table name, if any, may be followed by two integers separated by commas and enclosed in parentheses. The first integer (<i>ht\u2212buckets<\/i>) specifies the number of buckets in the generated hash table. The second integer (<i>ht\u2212max<\/i>) specifies the maximum number of entries in the hash table.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Example: <b>s:client(1024,65536):10\/sec<\/b><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>CONNLIMIT<\/b> \u2212 <i>limit<\/i>[:<i>mask<\/i>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">May be used to limit the number of simultaneous connections from each individual host to <i>limit<\/i> connections. While the limit is only checked on connections to which this policy could apply, the number of current connections is calculated over all current connections from the SOURCE host. By default, the limit is applied to each host individually but can be made to apply to networks of hosts by specifying a <i>mask<\/i>. The <i>mask<\/i> specifies the width of a VLSM mask to be applied to the source address; the number of current connections is then taken over all hosts in the subnet <i>source\u2212address<\/i>\/<i>mask<\/i>.<\/font><\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">1. All connections from the local network to the internet are allowed<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">2. All connections from the internet are ignored but logged at syslog level KERNEL.INFO.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">3. All other connection requests are rejected and logged at level KERNEL.INFO.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#SOURCE DEST POLICY LOG BURST:LIMIT <br \/> # LEVEL <br \/> loc net ACCEPT <br \/> net all DROP info <br \/> # <br \/> # THE FOLLOWING POLICY MUST BE LAST <br \/> # <br \/> all all REJECT info<\/font><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/policy<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall6\/policy<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><font color=\"#0000FF\">https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/font><\/b> <small><font color=\"#000000\">[7]<\/font><\/small><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">shorewall(8)<\/font><\/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\"><font color=\"#000000\">1.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-zones<\/font><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-zones.html<\/font><\/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\"><font color=\"#000000\">2.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-blrules<\/font><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-blrules.html<\/font><\/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\"><font color=\"#000000\">3.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-rules<\/font><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-rules.html<\/font><\/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\"><font color=\"#000000\">4.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall.conf<\/font><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall.conf.html<\/font><\/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\"><font color=\"#000000\">5.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-nesting<\/font><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-nesting.html<\/font><\/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\"><font color=\"#000000\">6.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-logging(5)<\/font><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/shorewall_logging.html<\/font><\/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\"><font color=\"#000000\">7.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  policy \u2212 Shorewall policy 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,1357],"class_list":["post-4343","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-shorewall-policy"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4343","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=4343"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4343\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}