Skip to contentSkip to conversation

route local packages

DISCUSSION paulobruck1 2 participants 2 messages Mar 6, 2009 – Mar 7, 2009

lore
Share & tools
lore
#1 lore raw

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#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

--
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