Setting up a Linix Server as a proxy server
I have a Linux Server setup with two NIC cards eth0 is connected to ADSL via DHCP, eth0 is using a fixed IP 192.168.2.200 - I will have three or four other computers hooked into this network connecting to the Server. I want to be able to connect to the internet via the Linux Server from any of the connected clients. I have searched and found a product called Squid that looks like it might do that job.
I'm using Fedora Core 3 is this the best product to do this or are there other better solutions?
iptables is your friend.
Browse for documentation on www.netfilter.org
Use one of the example scripts. You want to do masquerading.
If you'd be using Debian, you could have installed ipmasq. This is a fully automatic (yet customizable) installation of iptables and masquerading. Not sure it exists in Fedora as well.
You can do it with iptables, but you can also use squid, which is a caching proxy server that isn't difficult to set up.
You can set up a masquerading firewall using this script, which can also be configured to handle your internet connection sharing:
|All times are GMT -5. The time now is 10:52 AM.|