Results 1 to 2 of 2
I need to set up a small network but without using any gui tools . My network consists of 4 PCs connected through a switch. One of the PCs is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-06-2010 #1
- Join Date
- Feb 2010
- Gurgaon, India
Help - Need to setup up a small network without gui tools
I need to set up a small network but without using any gui tools. My network consists of 4 PCs connected through a switch. One of the PCs is also connected to the internet through a USB CDMA1X EV-DO modem (ppp interface). Now, I have designated this PC to be the default gateway for all the other machines. But I don't really know how to route traffic from the LAN to the internet via this PC and configure NAT. I have looked up at many tutorials but haven't managed to get it working. Please advice.
- 02-06-2010 #2
- Join Date
- Jul 2006
To route the LAN connections through your PC (gateway), you have to configure iptables on the PC, to accept petitions from the LAN, and then configure the gateways of all the PC of your LAN.
May be you should look for a SQUID + iptables tutorial, it is very easy to setup.
You could start here: Transparent Proxy with SQUID and iptables