Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    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.

  2. #2
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts