Re: port based routing for local generated connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 2009-05-17 01:28, Jan Rathouský wrote:

>Hi everybody,
>I'm looking for something that allows me routing based on destination
>ports (for two OpenVPN tunnels).
>First I found nice howto [1] but there is one problem – it works only
>with LAN traffic and I want it for one computer with two ISPs. Because
>router decision is done before writing marks for local generated
>packets.

It also applies to local traffic. The packet will be re-evaluated by 
routing if it changed its mark in the OUTPUT chain.

>I was told that "iptables -j ROUTE" is what I'm looking for.

Nope, that is obsoleted by iproute2.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux