On 11/03/03 16:17 +0530, Rohit Baisakhiya wrote:
> I want to allow 10.100.100.15 to 10.100.100.20 ip's to access net through
> nat and others through squid.Can any body suggest me how to do that or if
> some body can send me a ready made sample config file for the above
> setup,it would be great help if i get the sample file.
#sysctl -w net.ipv4.ip_forward=1
#/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Devdas Bhagat

-- 


http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to