Turn a linux machine into a NAT router & quick setting for squid to be used for proxy

Turning a linux machine to a NAT router: echo 1 > /proc/sys/net/ipv4/ip_forward vi /etc/sysconfig/iptables                 Under *nat:OUTPUT section:                 -A POSTROUTING -o eth0 -j MASQUERADE                 Under *mangle:POSTROUTING section:                 -A FORWARD -i eth0 -o eth1 -m state –state RELATED,ESTABLISHED … Continue reading Turn a linux machine into a NAT router & quick setting for squid to be used for proxy