Displaying 1 result from an estimated 1 matches for "front_".
Did you mean:
front
2008 Dec 10
2
Iptables Question
...-port 3128
This is a multihomed server so after this change the masquerading was
removed (as only web access on the lan side of this server was needed).
I now need to masq cleanly one device so that it can bypass the squid
proxy. As order is important, would it be correct to put the following
_in front_ of the PREROUTING command above:
iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
iptables -A FORWARD -i $LAN -o $WAN -m mac --mac-source <mac addr> -m state --state NEW,ESTABLISHED,RELATED -p tcp -m multiport --dports 443 -j ACCEPT
iptables -A FORWARD -i $WAN -o $LAN -m state --state RE...