@@ -101,13 +101,14 @@ function config-ip-firewall {
...
@@ -101,13 +101,14 @@ function config-ip-firewall {
iptables -w-t nat -A IP-MASQ -d 10.0.0.0/8 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 10.0.0.0/8 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 172.16.0.0/12 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 172.16.0.0/12 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.168.0.0/16 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.168.0.0/16 -m comment --comment"ip-masq: RFC 1918 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 240.0.0.0/4 -m comment --comment"ip-masq: RFC 5735 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.0.2.0/24 -m comment --comment"ip-masq: RFC 5737 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 198.51.100.0/24 -m comment --comment"ip-masq: RFC 5737 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 203.0.113.0/24 -m comment --comment"ip-masq: RFC 5737 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 100.64.0.0/10 -m comment --comment"ip-masq: RFC 6598 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 100.64.0.0/10 -m comment --comment"ip-masq: RFC 6598 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 198.18.0.0/15 -m comment --comment"ip-masq: RFC 6815 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.0.0.0/24 -m comment --comment"ip-masq: RFC 6890 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.0.0.0/24 -m comment --comment"ip-masq: RFC 6890 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.0.2.0/24 -m comment --comment"ip-masq: RFC 5737 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.88.99.0/24 -m comment --comment"ip-masq: RFC 7526 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 192.88.99.0/24 -m comment --comment"ip-masq: RFC 7526 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 198.18.0.0/15 -m comment --comment"ip-masq: RFC 2544 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 203.0.113.0/24 -m comment --comment"ip-masq: RFC 5737 reserved range is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -d 240.0.0.0/4 -m comment --comment"ip-masq: Former Class E range obsoleted by RFC 3232 is not subject to MASQUERADE"-j RETURN
iptables -w-t nat -A IP-MASQ -m comment --comment"ip-masq: outbound traffic is subject to MASQUERADE (must be last in chain)"-j MASQUERADE
iptables -w-t nat -A IP-MASQ -m comment --comment"ip-masq: outbound traffic is subject to MASQUERADE (must be last in chain)"-j MASQUERADE