-   Linux - Software (
-   -   Setting up a Linix Server as a proxy server (

Bill Fox 01-31-2005 03:05 PM

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 - 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?

jlinkels 01-31-2005 08:47 PM

iptables is your friend.

Browse for documentation on

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.


jiml8 01-31-2005 09:38 PM

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 05:54 PM.