Re: IPTables : How to force data coming from ethX being output by the same device

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

 



On Wednesday 2008-04-23 19:31, Leonardo Rodrigues Magalhães wrote:
> Alexei Ustyuzhaninov escreveu:
>>
>> I don't think any routing may be done without iptables. A simple example: you
>> have two internet connections and want to route all outgoing smtp traffic
>> (dst port=25) to one provider and the rest of the traffic - to the other
>> provider. How can you do this without marking packets with iptables?
>>
>
>   OK ..... but i have 2 internet connections and want some specific IPs (my
> servers, for example) to go out on link1 and all the other machines reaches
> internet through link2, then it can be done without iptables, with plain source
> routing rules.

Yes, but I seem to remember you wanted all packets originating from
eth0 to go back into eth0; you did not mention specific IP addresses :-)
Either way, quite the same complexity class.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux