Hi,
I need to setup a box as a router, I have two internal networks one
10.0.0.0/8 and another 192.168.1.0/24 and to the internet i have 2
ADSL connections each one has one router, one of them is a cisco 800
series(i cant edit its config) and the other one is a thompson(cant
remember the model) the box has 4 NIC one for each internal network
and one for each router to the internet, what I need to do is to be
able to give internet access to both of the internal networks, the 192
only through the cisco router, and the 10 through both by selecting
packets with iptables, I tried this guide:
http://linux-ip.net/html/adv-multi-internet.html
but I cant make it work.
I created the routing tables added the routes and the rules to route
with fwmark but its not working also added nat rules like in 10.2 on
the above link but its still not working any help will be apreciated.
thanks