Routong ADSL traffic through a linux box
Posted on 2001-07-04
I currently have a ADSL line (with NAT) connected directly into a hub, off which there are about twenty pc's.
The address of the adsl gateway is 192.168.254.254 and each of the twenty pc's has a static ip address of 192.168.254.1 - 20.
i would like to route a external trafic through one linux box then on to the adsl gateway (eventually i would like to be able to control/remove the availabily of certain services on the network).
i have setup a multihomed linux box with the following parameters:
eth0: 192.168.254.252 / 255.255.255.0
eth1: 192.168.254.253 / 255.255.255.0
i have connected eth0 to the hub and eth1 to the adsl
Now i am stuck !!!
i have enabled ip forwarding and i am hoping all i need to do is make a few changes to the routing table.
i would greatly appreciate any further help.