{"id":4602,"date":"2022-12-20T18:09:14","date_gmt":"2022-12-20T21:09:14","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shorewallnat-man5\/"},"modified":"2022-12-20T18:09:14","modified_gmt":"2022-12-20T21:09:14","slug":"shorewallnat-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shorewallnat-man5\/","title":{"rendered":"SHOREWALL&minus;NAT (man5)"},"content":{"rendered":"<h1 align=\"center\">SHOREWALL\u2212NAT<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#RESTRICTIONS\">RESTRICTIONS<\/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\">nat \u2212 Shorewall one\u2212to\u2212one NAT 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=\"27%\">\n<p style=\"margin-top: 1em\"><b>\/etc\/shorewall\/nat<\/b><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This file is used to define one\u2212to\u2212one Network Address Translation (NAT).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b><big>Warning<\/big><\/b> <br \/> If all you want to do is simple port forwarding, do NOT use this file. See <b><font color=\"#0000FF\">https:\/\/shorewall.org\/FAQ.htm#faq1<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">. Also, in many cases, Proxy ARP (<\/font><b><font color=\"#0000FF\">shorewall\u2212proxyarp<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">(5)) or Proxy\u2212NDP(<\/font><b><font color=\"#0000FF\">shorewall6\u2212proxyndp<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">(5)) is a better solution that one\u2212to\u2212one NAT.<\/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>EXTERNAL<\/b> \u2212 {<i>address<\/i>|?COMMENT}<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">External IP Address \u2212 this should NOT be the primary IP address of the interface named in the next column and must not be a DNS Name.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If you put ?COMMENT in this column, the rest of the line will be attached as a comment to the Netfilter rule(s) generated by the following entries in the file. The comment will appear delimited by &#8220;\/* &#8230; *\/&#8221; in the output of &#8220;shorewall show nat&#8221;<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">To stop the comment from being attached to further rules, simply include ?COMMENT on a line by itself.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>INTERFACE<\/b> \u2212 <i>interfacelist<\/i>[<b>:<\/b>[<i>digit<\/i>]]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Interfaces that have the <b>EXTERNAL<\/b> address. If ADD_IP_ALIASES=Yes in<\/font> <b><font color=\"#0000FF\">shorewall.conf<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">(5), Shorewall will automatically add the EXTERNAL address to this interface. Also if ADD_IP_ALIASES=Yes, you may follow the interface name with &#8220;:&#8221; and a <i>digit<\/i> to indicate that you want Shorewall to add the alias with this name (e.g., &#8220;eth0:0&#8221;). That allows you to see the alias with ifconfig. <b>That is the only thing that this name is good for \u2212\u2212 you cannot use it anywhere else in your Shorewall configuration.<\/b><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Each interface must match an entry in<\/font> <b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b> <small><font color=\"#000000\">[5]<\/font><\/small> <font color=\"#000000\">(5). Shorewall allows loose matches to wildcard entries in<\/font> <b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b> <small><font color=\"#000000\">[5]<\/font><\/small> <font color=\"#000000\">(5). For example, ppp0 in this file will match a<\/font> <b><font color=\"#0000FF\">shorewall\u2212interfaces<\/font><\/b> <small><font color=\"#000000\">[5]<\/font><\/small> <font color=\"#000000\">(5) entry that defines ppp+.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If you want to override ADD_IP_ALIASES=Yes for a particular entry, follow the interface name with &#8220;:&#8221; and no digit (e.g., &#8220;eth0:&#8221;).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>INTERNAL<\/b> \u2212 <i>address<\/i><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Internal Address (must not be a DNS Name).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>ALLINTS<\/b> \u2212 [<b>Yes<\/b>|<b>No<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If Yes or yes, NAT will be effective from all hosts. If No or no (or left empty) then NAT will be effective only through the interface named in the <b>INTERFACE<\/b> column.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">This column was formerly labelled ALL INTERFACES.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>LOCAL<\/b> \u2212 [<b>Yes<\/b>|<b>No<\/b>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If <b>Yes<\/b> or <b>yes<\/b>, NAT will be effective from the firewall system<\/font><\/p>\n<h2>RESTRICTIONS <a name=\"RESTRICTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">DNAT rules always preempt one\u2212to\u2212one NAT rules. This has subtile consequences when there are sub\u2212zones on an <i>interface<\/i>. Consider the following:<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/zones:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#ZONE TYPE OPTIONS IN OUT <br \/> # OPTIONS OPTIONS <br \/> fw firewall <br \/> net ipv4 <br \/> loc ipv4 <br \/> smc:net ipv4<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/interfaces:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#ZONE INTERFACE OPTIONS <br \/> net eth0 dhcp,tcpflags,nosmurfs,routefilter,logmartians,sourceroute=0 <br \/> loc eth1 tcpflags,nosmurfs,routefilter,logmartians<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/hosts:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#ZONE HOST(S) OPTIONS <br \/> smc eth0:10.1.10.0\/24<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/nat:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#EXTERNAL INTERFACE INTERNAL ALLINTS LOCAL <br \/> 10.1.10.100 eth0 172.20.1.100<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Note that the EXTERNAL address is in the <b>smc<\/b> zone.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/rules:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER MARK CONNLIMIT TIME HEADERS SWITCH HELPER <br \/> ?SECTION ALL <br \/> ?SECTION ESTABLISHED <br \/> ?SECTION RELATED <br \/> ?SECTION INVALID <br \/> ?SECTION UNTRACKED <br \/> ?SECTION NEW <br \/> &#8230; <br \/> DNAT net loc:172.20.1.4 tcp 80<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">For the one\u2212to\u2212one NAT to work correctly in this configuration, one of two approaches can be taken:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">1. Define a CONTINUE policy with <b>smc<\/b> as the SOURCE zone (preferred):<\/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=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">#SOURCE<\/font><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">DEST<\/font><\/p>\n<\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"7%\">\n<p><font color=\"#000000\">POLICY<\/font><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"15%\">\n<p><font color=\"#000000\">LOG LEVEL<\/font><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"15%\">\n<p><font color=\"#000000\">LIMIT:BURST<\/font><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\"><b>smc<\/b><\/font><\/p>\n<\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\"><b>$FW<\/b><\/font><\/p>\n<\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\"><b>CONTINUE<\/b><\/font><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"15%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">loc<\/font><\/p>\n<\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">net<\/font><\/p>\n<\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">ACCEPT<\/font><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"15%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">net<\/font><\/p>\n<\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">all<\/font><\/p>\n<\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">DROP<\/font><\/p>\n<\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"15%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\">\n<p><font color=\"#000000\">info<\/font><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"15%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"># THE FOLLOWING POLICY MUST BE LAST<\/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=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">all<\/font><\/p>\n<\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"38%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\">\n<p><font color=\"#000000\">all<\/font><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">REJECT<\/font><\/p>\n<\/td>\n<td width=\"38%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"23%\"><\/td>\n<td width=\"-15%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"38%\">\n<p><font color=\"#000000\">info<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">2. Set IMPLICIT_CONTINUE=Yes in<\/font> <b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b> <small><font color=\"#000000\">[4]<\/font><\/small> <font color=\"#000000\">.<\/font><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall\/nat<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/shorewall6\/nat<\/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\/NAT.htm<\/font><\/b> <small><font color=\"#000000\">[6]<\/font><\/small><\/p>\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=\"52%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">https:\/\/shorewall.org\/FAQ.htm#faq1<\/font><\/p>\n<\/td>\n<td width=\"31%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/FAQ.htm#faq1<\/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=\"28%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-proxyarp<\/font><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-proxyarp.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=\"29%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall6-proxyndp<\/font><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/manpages\/shorewall-proxyndp.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=\"31%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">shorewall-interfaces<\/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\/manpages\/shorewall-interfaces.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=\"45%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">https:\/\/shorewall.org\/NAT.htm<\/font><\/p>\n<\/td>\n<td width=\"38%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/shorewall.org\/NAT.htm<\/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>  nat \u2212 Shorewall one\u2212to\u2212one NAT 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,1549],"class_list":["post-4602","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-shorewall-nat"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4602","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=4602"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4602\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}