Accessing the WAN port on Fonera 2.0n with PPPoE
Posted Apr 17 2011, 05:40 by William Shallum [updated May 13 2013, 02:13]
I have a Fonera 2.0n (with developer image installed), it is set to use PPPoE over its WAN port. My DSL modem is a Billion BIPAC 5210S. To access the DSL modem, an IP address must be assigned to the WAN interface of the Fonera.
The WAN interface is eth0.2 (determined from viewing the commandline used by pppd).
After giving it an IP address…
# ifconfig eth0.2 192.168.2.2 up
…the ping to the DSL modem should work.
# ping 192.168.2.1
I still can’t route this back to my LAN (192.168.1.0/24) - probably need to tweak the iptables rules, but I can use SSH with port forwarding to access the DSL modem web UI.
To port forward in PuTTY: Connection > SSH > Tunnels Source port 8000, Destination 192.168.2.1:80, Local. Don’t forget to click the add button.
In ssh: -L 8000:192.168.2.1:80