{"id":4510,"date":"2022-12-20T18:08:52","date_gmt":"2022-12-20T21:08:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shorewallproviders-man5\/"},"modified":"2022-12-20T18:08:52","modified_gmt":"2022-12-20T21:08:52","slug":"shorewallproviders-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shorewallproviders-man5\/","title":{"rendered":"SHOREWALL&minus;PROVIDERS (man5)"},"content":{"rendered":"<h1 align=\"center\">SHOREWALL\u2212PROVIDERS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/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\">providers \u2212 Shorewall Providers 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\/providers<\/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 is used to define additional routing tables. You will want to define an additional table if:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 You have connections to more than one ISP or multiple connections to the same ISP<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 You run Squid as a transparent proxy on a host other than the firewall.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 You have other requirements for policy routing.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Each entry in the file defines a single routing table.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If you wish to omit a column entry but want to include an entry in the next column, use &#8220;\u2212&#8221; for the omitted entry.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The columns in the file are as follows.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NAME<\/b> \u2212 <i>name<\/i><\/p>\n<p style=\"margin-left:17%;\">The provider <i>name<\/i>. Must be a valid shell variable name. The names &#8216;local&#8217;, &#8216;main&#8217;, &#8216;default&#8217; and &#8216;unspec&#8217; are reserved and may not be used as provider names.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NUMBER<\/b> \u2212 <i>number<\/i><\/p>\n<p style=\"margin-left:17%;\">The provider number \u2212\u2212 a number between 1 and 15. Each provider must be assigned a unique value.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MARK<\/b> (Optional) \u2212 <i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">A FWMARK <i>value<\/i> used in your <b><font color=\"#0000FF\">shorewall\u2212mangle(5)<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">file to direct packets to this provider.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If PROVIDER_OFFSET is non\u2212zero in<\/font> <b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">, then the value must be a multiple of 2^^PROVIDER_OFFSET. In all cases, the number of significant bits may not exceed PROVIDER_OFFSET + PROVIDER_BITS.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>DUPLICATE<\/b> \u2212 <i>routing\u2212table\u2212name<\/i><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The name of an existing table to duplicate to create this routing table. May be <b>main<\/b> or the name of a previously listed provider. You may select only certain entries from the table to copy by using the COPY column below. This column should contain a dash (&#8220;\u2212&#8217;) when USE_DEFAULT_RT=Yes in<\/font> <b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b> <small><font color=\"#000000\">[2]<\/font><\/small> <font color=\"#000000\">.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>INTERFACE<\/b> \u2212 <i>interface<\/i>[:<i>address<\/i>]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The name of the network interface to the provider. Must be listed in<\/font> <b><font color=\"#0000FF\">shorewall\u2212interfaces(5)<\/font><\/b> <small><font color=\"#000000\">[3]<\/font><\/small> <font color=\"#000000\">. In general, that interface should not have the <b>proxyarp<\/b> or <b>proxyndp<\/b> option specified unless <b>loose<\/b> is given in the OPTIONS column of this entry.<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><b><big>Important<\/big><\/b> <br \/> For IPv6, if the interface is an Ethernet device and an IP address is supplied, it should be the upstream router&#8217;s link\u2212level address, not its global address.<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Where more than one provider is serviced through a single interface, the <i>interface<\/i> must be followed by a colon and the IP <i>address<\/i> of the interface that is supplied by the associated provider.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b><big>GATEWAY<\/big><\/b> <big>\u2212 {<b>\u2212<\/b>|<i>address<\/i>[,<i>mac<\/i>]|<b>detect|none<\/b>}<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>The IP address of the provider&#8217;s gateway router. Beginning with Shorewall 4.6.2, you may also specify the MAC address of the gateway when there are multiple providers serviced through the same interface. When the MAC is not specified, Shorewall will detect the MAC during firewall start or restart.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>You can enter <b>detect<\/b> here and Shorewall will attempt to detect the gateway automatically.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 5.0.6, you may also enter <b>none<\/b>. This causes creation of a routing table with no default route in it.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>For PPP devices, you may omit this column.<\/big><\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><big><b>OPTIONS<\/b> (Optional) \u2212 [<b>\u2212<\/b>|<i>option<\/i>[<b>,<\/b><i>option<\/i>]&#8230;]<\/big><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><big>A comma\u2212separated list selected from the following. The order of the options is not significant but the list may contain no embedded white\u2212space.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big>autosrc<\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>Added in Shorewall 4.5.17. Causes a host route to the provider&#8217;s gateway router to be added to the provider&#8217;s routing table. This is the default behavior unless overridden by a following <b>noautosrc<\/b> option.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><b>track<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>If specified, inbound connections on this interface are to be tracked so that responses may be routed back out this same interface.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>You want to specify <b>track<\/b> if internet hosts will be connecting to local servers through this provider.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>Beginning with Shorewall 4.4.3, <b>track<\/b> defaults to the setting of the TRACK_PROVIDERS option in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf<\/font><\/b><\/big> <font color=\"#000000\">[2] <big>(5). If you set TRACK_PROVIDERS=Yes and want to override that setting for an individual provider, then specify <b>notrack<\/b> (see below).<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><b>balance[=<\/b><i>weight<\/i><b>]<\/b><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big>The providers that have <b>balance<\/b> specified will get outbound traffic load\u2212balanced among them. By default, all interfaces with <b>balance<\/b> specified will have the same weight (1). You can change the weight of an interface by specifying <b>balance=<\/b><i>weight<\/i> where <i>weight<\/i> is the weight of the route out of this interface.<\/big><\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\"><big>Prior to Shorewall 5.1.1, when USE_DEFAULT_RT=Yes, <b>balance=1<\/b> is assumed unless the <b>fallback<\/b>, <b>loose<\/b>, <b>load<\/b> or <b>tproxy<\/b> option is specified. Beginning with Shorewall 5.1.1, when BALANCE_PROVIDERS=Yes, <b>balance=1<\/b> is assumed unless the <b>fallback<\/b>, <b>loose<\/b>, <b>load<\/b> or <b>tproxy<\/b> option is specified.I<\/big><\/font><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>Caution<\/big><\/b> <br \/> In IPV6, the <b>balance<\/b> option does not cause balanced default routes to be created; it rather causes a sequence of default routes with different metrics to be created.<\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><b><big>loose<\/big><\/b><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>Shorewall normally adds a routing rule for each IP address on an interface which forces traffic whose source is that IP address to be sent using the routing table for that interface. Setting <b>loose<\/b> prevents creation of such rules on this interface.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>load=<\/b><i>probability<\/i><\/big><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>Added in Shorewall 4.6.0. This option provides an alternative method of load balancing based on probabilities. Providers to be balanced are given a <i>probability<\/i> (a number 0 > n >= 1) with up to 8 digits to the right of the decimal point. Beginning with Shorewall 4.6.10, a warning is issued if the sum of the probabilities is not 1.00000000.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>noautosrc<\/b><\/big><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>Added in Shorewall 4.5.17. Prevents the addition of a host route to the provider&#8217;s gateway router from being added to the provider&#8217;s routing table. This option must be used with caution as it can cause start and restart failures.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>notrack<\/b><\/big><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>Added in Shorewall 4.4.3. When specified, turns off <b>track<\/b>.<\/big><\/big><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><big><big><b>optional (deprecated for use with providers that do not share an interface)<\/b><\/big><\/big><\/font><\/p>\n<p style=\"margin-left:23%;\"><font color=\"#000000\"><big><big>If the interface named in the INTERFACE column is not up and configured with an IPv4 address then ignore this provider. If not specified, the value of the <b>optional<\/b> option for the INTERFACE in<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">shorewall\u2212interfaces(5)<\/font><\/b><\/big> <font color=\"#000000\">[3] <big>is assumed. Use of that option is preferred to this one, unless an <i>address<\/i> is provider in the INTERFACE column.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>primary<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Added in Shorewall 4.6.6, <b>primary<\/b> is equivalent to <b>balance=1<\/b> and is preferred when the remaining providers specify <b>fallback<\/b> or <b>tproxy<\/b>.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>src=<\/b><i>source\u2212address<\/i><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Specifies the source address to use when routing to this provider and none is known (the local client has bound to the 0 address). May not be specified when an <i>address<\/i> is given in the INTERFACE column. If this option is not used, Shorewall substitutes the primary IP address on the interface named in the INTERFACE column.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>mtu=<\/b><i>number<\/i><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Specifies the MTU when forwarding through this provider. If not given, the MTU of the interface named in the INTERFACE column is assumed.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b>fallback[=<\/b><i>weight<\/i><b>]<\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big>Indicates that a default route through the provider should be added to the default routing table (table 253). If a <i>weight<\/i> is given, a balanced route is added with the weight of this provider equal to the specified <i>weight<\/i>. If the option is given without a <i>weight<\/i>, a separate default route is added through the provider&#8217;s gateway; the route has a metric equal to the provider&#8217;s NUMBER.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><font color=\"#000000\"><big>Prior to Shorewall 4.4.24, the option is ignored with a warning message if USE_DEFAULT_RT=Yes in shorewall.conf.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>Caution<\/big><\/b> <br \/> In IPV6, specifying the <b>fallback<\/b> option on multiple providers does not cause balanced fallback routes to be created; it rather causes a sequence of fallback routes with different metrics to be created.<\/big><\/font><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><font color=\"#000000\"><big><b><big>tproxy<\/big><\/b><\/big><\/font><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><font color=\"#000000\"><big><big>Added in Shorewall 4.5.4. Used for supporting the TPROXY action in shorewall\u2212mangle(5). See<\/big><\/big><\/font> <big><big><b><font color=\"#0000FF\">https:\/\/shorewall.org\/Shorewall_Squid_Usage.html<\/font><\/b><\/big> <font color=\"#000000\">[4] <big>. When specified, the MARK, DUPLICATE and GATEWAY columns should be empty, INTERFACE should be set to &#8216;lo&#8217; and <b>tproxy<\/b> should be the only OPTION. Only one <b>tproxy<\/b> provider is allowed.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b>hostroute<\/b><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.21. This is the default behavior that results in a host route to the defined <b>GATEWAY<\/b> being inserted into the main routing table and into the provider&#8217;s routing table. <b>hostroute<\/b> is required for older distributions but <b>nohostroute<\/b> (below) is appropriate for recent distributions. <b>hostroute<\/b> may interfere with Zebra&#8217;s ability to add routes on some distributions such as Debian 7. This option defaults to on when BALANCE_PROVIDERS=Yes, in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[2] <big>.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b>nohostroute<\/b><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><font color=\"#000000\"><big>Added in Shorewall 4.5.21. nohostroute inhibits addition of a host route to the defined <b>GATEWAY<\/b> being inserted into the main routing table and into the provider&#8217;s routing table. <b>nohostroute<\/b> is not appropriate for older distributions but is appropriate for recent distributions. <b>nohostroute<\/b> allows Zebra&#8217;s to correctly add routes on some distributions such as Debian 7. This option defaults to off when BALANCE_PROVIDERS=Yes, in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall.conf(5)<\/font><\/b><\/big> <font color=\"#000000\">[2] <big>.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b>persistent<\/b><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%;\"><big><big><font color=\"#000000\"><big>Added in Shorewall 5.0.2 and alters the behavior of the <b>disable<\/b> command:<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>\u2022 The provider&#8217;s routing table still contains the apprioriate default route.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>\u2022 Unless the <b>noautosrc<\/b> option is specified, routing rules are generated to route traffic from the interfaces address(es) out of the provider&#8217;s routing table.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><font color=\"#000000\"><big>\u2022 Persistent routing rules in<\/big><\/font> <big><b><font color=\"#0000FF\">shorewall\u2212rtrules(5)<\/font><\/b><\/big> <font color=\"#000000\">[5] <big>are present.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b><big>Note<\/big><\/b> <br \/> The generated script will attempt to reenable a disabled persistent provider during execution of the <b>start<\/b>, <b>restart<\/b> and <b>reload<\/b> commands. When <b>persistent<\/b> is not specified, only the <b>enable<\/b> and <b>reenable<\/b> commands can reenable the provider.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:29%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b><big>Important<\/big><\/b> <br \/> RESTORE_DEFAULT_ROUTE=Yes in shorewall[6].conf is not recommended when the <b>persistent<\/b> option is used, as restoring default routes to the main routing table can prevent link status monitors such as foolsm from correctly detecting non\u2212working providers.<\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><b><big>COPY<\/big><\/b> <big>\u2212 [{<b>none<\/b>|<i>interface<\/i><b>[,<\/b><i>interface<\/i>]&#8230;}]<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>A comma\u2212separated list of other interfaces on your firewall. Wildcards specified using an asterisk (&#8220;*&#8221;) are permitted (e.g., tun* ). Usually used only when DUPLICATE is <b>main<\/b>. Only copy routes through INTERFACE and through interfaces listed here. If you only wish to copy routes through INTERFACE, enter <b>none<\/b> in this column.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>Beginning with Shorewall 4.5.17, blackhole, unreachable and prohibit routes are no longer copied by default but may be copied by including <b>blackhole<\/b>,<b>unreachable<\/b> and <b>prohibit<\/b> respectively in the COPY list.<\/big><\/big><\/font><\/big><\/big><\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>IPv4 Example 1:<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>You run squid in your DMZ on IP address 192.168.2.99. Your DMZ interface is eth2<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS <br \/> Squid 1 1 \u2212 eth2 192.168.2.99 \u2212<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>IPv4 Example 2:<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>eth0 connects to ISP 1. The IP address of eth0 is 206.124.146.176 and the ISP&#8217;s gateway router has IP address 206.124.146.254.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>eth1 connects to ISP 2. The IP address of eth1 is 130.252.99.27 and the ISP&#8217;s gateway router has IP address 130.252.99.254.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>eth2 connects to a local network.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY <br \/> ISP1 1 1 main eth0 206.124.146.254 track,balance eth2 <br \/> ISP2 2 2 main eth1 130.252.99.254 track,balance eth2<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>IPv6 Example 1:<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>You run squid in your DMZ on IP address 2002:ce7c:92b4:1::2. Your DMZ interface is eth2<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS <br \/> Squid 1 1 \u2212 eth2 2002:ce7c:92b4:1::2 \u2212<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>IPv6 Example 2:<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%;\"><big><big><font color=\"#000000\"><big><big>eth0 connects to ISP 1. The ISP&#8217;s gateway router has IP address 2001:ce7c:92b4:1::2.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>eth1 connects to ISP 2. The ISP&#8217;s gateway router has IP address 2001:d64c:83c9:12::8b.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>eth2 connects to a local network.<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY <br \/> ISP1 1 1 main eth0 2001:ce7c:92b4:1::2 track eth2 <br \/> ISP2 2 2 main eth1 2001:d64c:83c9:12::8b track eth2<\/big><\/big><\/font><\/big><\/big><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>\/etc\/shorewall\/providers<\/big><\/big><\/font><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><font color=\"#000000\"><big><big>\/etc\/shorewall6\/providers<\/big><\/big><\/font><\/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><b><font color=\"#0000FF\">https:\/\/shorewall.org\/MultiISP.html<\/font><\/b><\/big> <font color=\"#000000\">[6]<\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><b><big><font color=\"#0000FF\">https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/font><\/big><\/b> <font color=\"#000000\">[7]<\/font><\/big><\/big><\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>shorewall(8)<\/big><\/font><\/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><font color=\"#000000\"><big>1.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>shorewall-mangle(5)<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-mangle.html<\/big><\/font><\/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><font color=\"#000000\"><big>2.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>shorewall.conf(5)<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall.conf.html<\/big><\/font><\/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><font color=\"#000000\"><big>3.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"35%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>shorewall-interfaces(5)<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"48%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-interfaces.html<\/big><\/font><\/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><font color=\"#000000\"><big>4.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/Shorewall_Squid_Usage.html<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"9%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/Shorewall_Squid_Usage.html<\/big><\/font><\/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><font color=\"#000000\"><big>5.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>shorewall-rtrules(5)<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/manpages\/shorewall-rtrules.html<\/big><\/font><\/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><font color=\"#000000\"><big>6.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"54%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/MultiISP.html<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"29%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/MultiISP.html<\/big><\/font><\/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><font color=\"#000000\"><big>7.<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/big><\/font><\/big><\/big><\/big><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><big><big><big><font color=\"#000000\"><big>https:\/\/shorewall.org\/configuration_file_basics.htm#Pairs<\/big><\/font><\/big><\/big><\/big><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  providers \u2212 Shorewall Providers 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,1477],"class_list":["post-4510","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-shorewall-providers"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4510","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=4510"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4510\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}