route local packages
Hi Guys
reading
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#NATINTRO
and man iptables I can't figure out how to route local packages. For example:
----------LAN ( eth0) -----Firewall/proxy ------eth1 ( wan1)
------eth2 ( wan2)
Knowing that my route default is wan1, how can I alter some local packages ( only proxy, for example) to be delivery to eth2????
best regards
Look at the policy routing stuff. In order to have different applications use different routes, you need to setup multiple routing tables and have rules that select the correct table.
Warning; this is not trivial.
Brad
Quoted 22 lines · On Fri, 6 Mar 2009, paulobruck1 wrote:
Hi Guys
reading
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#NATINTROand man iptables I can't figure out how to route local packages. For example:
----------LAN ( eth0) -----Firewall/proxy ------eth1 ( wan1)
------eth2 ( wan2)Knowing that my route default is wan1, how can I alter some local packages ( only proxy, for example) to be delivery to eth2????
best regards
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html