Dual WAN port on a WRT54GL

Posted by pufferfish on Server Fault See other posts from Server Fault or by pufferfish
Published on 2009-10-01T10:19:38Z Indexed on 2012/09/23 15:40 UTC
Read the original article Hit count: 326

Filed under:
|
|
|
|

Is it possible to reconfigure one of the LAN ports on a WRT54GL (running Tomato firmware) to act as a second WAN port?

I have the following networks:

  • PPOE connection to ADSL modem (works fine on the normal WAN port)
  • WiFi neighbourhood network (in 178.X.X.X range), via a Mikrotik routerboard

which I'd like to put on the WAN side of the router. I'd then like to set up routing so than some traffic (172.X.X.X) is routed to the Mikrotik and the rest to the ADSL modem.

p.s. for practical reasons, I can't use the Mikrotik as the firewall/router.

Edit: It seems this can be done by editing iptables, can someone tell me exactly how?

© Server Fault or respective owner

Related posts about router

Related posts about dd-wrt