Access modem with PPPoE?

Discussion in 'Tomato Firmware' started by bleagh, Nov 5, 2006.

  1. bleagh

    bleagh Network Guru Member

    I have my modem in bridge mode, then use PPPoE on my WRT54GS to connect to my provider. With both DD-WRT and Thibor15c I used a firewall script that allowed me to access the modem's web interface. But with Tomato it doesn't work.

    Does anybody know how to configure Tomato so I can access my modems web interface?

    Modem's IP is:
    router's IP is:

  2. bleagh

    bleagh Network Guru Member

    Okay, I figured it out! I just put the following 2 lines in the firewall script:

    iptables -I POSTROUTING -t nat -o vlan1 -d -j MASQUERADE
    ip addr add dev vlan1 brd +

    Usually I would put the second line in the startup script. But it doesn't work when I put it in Tomato's Init script. Which makes me wonder what the Init script section in Tomato is for? Does it even work?

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice