(Network newbee) Linux as a router

From: Jakob Simon-Gaarde (jakob_at_simon-gaarde.dk)
Date: 07/29/04


Date: 29 Jul 2004 02:21:25 -0700

I would like to use a linux box as a router for 10 clients so they can
share a 2 mbps adsl connection. I have two network cards (eth0, eth1)
installed in the linux box. eth1 is connected with my adsl-modem and
is always online the other is connected to my local network:

eth0: 192.168.0.1/255.255.255.0
eth1: 80.160.199.114/255.255.255.252 through gateway 80.160.199.113
(sending and recieving packets to the world)

So far so good. What do I need to do to allow the 10 clients on
192.168.0.x to access the world? I suspect the keywords are
ip-forwarding, masquerading etc. but to be honest I'm very confused
about these concepts there is so much information on the internet
about these subjects that I don't know where to start :(
Can someone spill the golden pearls for me, or just push me in the
right direction?



Relevant Pages

  • Re: Fedora: internet connection
    ... >> about my recently installed Linux being slow at booting up and not ... >> to the internet via a Charter Pipeline cable modem, ... >> connection, however, it's not back here. ... >different network. ...
    (comp.os.linux.setup)
  • Re: Advanced Security Question
    ... The upgrade will probably include thin clients (getting ... linux image by TFTP) and wireless. ... We want to control all of the traffic on the network to the point and ... You corrupt the ARP tables of the remote machines ...
    (comp.os.linux.security)
  • Re: networking
    ... >connects well good connection ... >My graphic network configuration has the following | Active etho, ... I'd say Linux looks good except for that one strange route! ... WinXP Home on the other hand looks very strange! ...
    (alt.os.linux)
  • Re: Home p2p network, need help
    ... This is just an ordinary windows network. ... >vfat partition that can be seen by fedora under the folder /windows ... >able to share the internet connection. ... >Then i'd say, with all my lack of linux experience, that i have to do 2 things. ...
    (Fedora)
  • RE: SBS 2003 VPN issue through ISA
    ... The XP clients and the TS are in the same network and same domain. ... connections are established from the clients themselves using Cisco VPN ... appears ISA is somehow dropping the connection according to the logs. ...
    (microsoft.public.windows.server.sbs)