Thanks man!!!
Wilson Hernandez - MSD, S. A. wrote:
>
> echo "%%% Transparent Proxy %%%"
> iptables -t nat -A PREROUTING -i $LAN_IFACE -p tcp \
> -s $LAN_ADDRESSES --sport $UNPRIVPORTS --dport 80 \
> -j REDIRECT --to-port 3128
>
> iptables -A INPUT -i $LAN_IFACE -p tcp \
> -s $LAN_ADDRESSES --sport $UNPRIVPORTS -d $LAN_IP --dport 3128 \
> -m state --state NEW -j ACCEPT
>
> # Now enable response from squid as server sport 80
> iptables -A OUTPUT -o $LAN_IFACE -p tcp \
> -s $LAN_IP --sport 80 --dport $UNPRIVPORTS \
> -m state --state ESTABLISHED,RELATED -j ACCEPT
>
> echo "... Done Transparent Proxy ..."
>
>
>
-- View this message in context: http://www.nabble.com/Squid3-stable8-web-cache-proxy---iptables-help%21-tp24643025p24698023.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Tue Jul 28 2009 - 12:22:22 MDT
This archive was generated by hypermail 2.2.0 : Tue Jul 28 2009 - 12:00:05 MDT