I am currently trying to set up a home router using a machine running Ubuntu 12.04. The machine has two ethernet ports. eth0 is LAN and eth1 is WAN. I have set eth0 to a static ip and have eth1 ...
I have a default gateway on my network with a Ubuntu/iptables configuration, with IP address 192.168.1.254. Then there is another gateway on my local network for one specific subnet, say 220.127.116.11/24, ...