Hi luggers I have a setup of 2 lan cards in my server,eth0 connected to my cable isp and eth1 connected to internel lan.
eth0 XXX.XXX.XXX.XXX(public ip) eth1 10.100.100.1 (internel lan)
now i have installed squid for sharing internet among computers on my lan,but some applications like kazaa do not work with squid.So i need to do nat so that i can share internet with out specifying any settings in internet explorer or any other application (squid proxy settings). 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.
Regards. Rohit Baisakhiya Advision India Mumbai 69 PH = 31016370
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
In my college we are using squid as a proxy server for the entire lab. We r thinking of having our own web server, but the College wants it to be behind the proxy server, Now how do I do this. I suppose this could be done by using iptables and IP forwarding, could someone please help me by giving me the code for the iptable configuration.
Geek by Nature
GNU/Linux by choice
If GNU/Linux doesn't have the solution, you have the wrong problem
mailto: varunop@yahoo.com
website: http://varunop.blogspot.com
Unix is very simple, Only it takes a genius to simplify it
--------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online
hi I have executed the command ,also it shows the rule in firewall rules but still its not working.I am using webmin on RedHat Linux 8.0 to manage all the admin functions of th box.Please furthur specify in detail.
Rohit
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
--