Posted on 2001-06-26
I want to share my internet, using my linux box as a gateway.
I have Mandrake 8.0.
My internet connection is a ADSL PPPoE connection.
I use the Roaring Penguin 2.8 PPPoE driver.
Demand value : no
DNS : Provided by ISP
Firewall : 0 - None
Starts automatic at boot.
I have to NIC's :
eth0: Connected to the Windows 98SE Computer.
IP=192.168.0.1, SubnetMask: 255.255.255.0
eth1: Connected to the modem
IP=10.0.0.10, subnet 255.255.255.0
Both cards are static IP and are started at boot.
ppp0 has a dynamic IP.
The internet connection works perfectly.
The win 98SE pc has 1 NIC, IP=192.168.0.2, subnet 255.255.255.0
Its Default Gateway is set to 192.168.0.1.
Its DNS is 188.8.131.52/22 <- The DNS servers of my ISP.
We can ping eachother, she can FTP me, and see my Website (on 192.168.0.1).
So the Network functions perfectly.
Internet sharing has worked, but I can't recall how to set it up. (I reinstalled linux)
Im sure that the Win98SE machine is configured correctly
What I want :
Explain me in simple and complete steps how to set up IP Masquerading from my linux box,
starting from this situation.
I know that this is a difficult question as it involves networking between Linux,Internet,and Windows.
Because this question is hars, and will probably take some efford to answer i'l give 200 points, and I'm willing to increase this should it prover hard to solve.