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

    a linux router behind an ADSL router

    I have been unable to use the ADSL router/modem as a bridge to connect via my linux system using PPPOE.
    Thus I want to set up a Linux router behind my ADSL router modem.
    ADSL LAN interface :
    Linux router interface to ADSL router: (eth0)

    I want two of my networks & to use my linux router as the gateway to the Internet. ( i.e i don't want them to use the ADSL router as the gateway...i want them to pass thru a firewall on my Linux box)

    How do I do that since I don't have a ppp0 interface ?

    Please help


  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Basically you have to set up the Linux box to route from eth[1,2] out through eth0 as well as enable packet forwarding.

    The better way to do this involves using IPTables and NAT to route everything from the eth's out eth0. The obvious first step is to make sure eth0 is working properly and that you can get online with the Linux box. Once this is confirmed, set up IPTables to NAT everything.

    Someone else can explain this if they get here before I have a chance, but I'm short on time just now....

    Or check out and start researching it on your own.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

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