How to share a PPPoE internet connection?

Asked by Botond Szász on 2007-08-23

My ISP provides me internet through a network cable and the PPPoE protocol. I set up my internet connection using pppoeconf and it's working nicely. The thing that I didn't manage to do is share this internet connection to another computer running Windows XP SP2 through my second network adapter. The one which connects me to the internet is an nVidia onboard network controller, and I have another SMC 10/100 PCI network adapter which connects me to the other computer.

I followed the guide here: but with no luck. I read the posts where someone suggested to use Firestarter. Firestarter says it can't start the firewall at all (after I run the wizard for the internet connection sharing).

The truth is that I am a little confused because I had the network interfaces in my system: eth0 (the onboard controller) and eth1 (the PCI network card), and after I set up the Internet connection I also have a ppp0 interface. Firestarter won't start the firewall either if I chose eth0 as the internet connection interface or ppp0.

I think I have to select ppp0 for the internet interface, because ppp0 is basically a virtual device which uses the eth0 physical device.

My question basically would be how on earth can be set up an Internet Connection Sharing preferably easily, but at this point I'm willing to try anything? The Firestarter solution would have been easy if it worked.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Justin M. Wray (wray-justin) said : #1


     You could simply turn ip_forwarding on: echo 1 > /proc/sys/net.ipv4/ip_forwarding
     Then ensure all of your routes are correct: route -n
     Set the IP address of eth1 as the gateway on all system

If done correctly the system will act as a router, and route traffic back and forth.

For a more in depth guide, please see the following:

Justin M. Wray

Can you help with this problem?

Provide an answer of your own, or ask Botond Szász for more information if necessary.

To post a message you must log in.