Re: ROUTING thru two LINKs problem

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

 



use iptables to mark the incoming packets and use iproute2 to route the
packets back out based on the mark

Somthing like this should work:

iptables -t mangle -i eth0 -j MARK --set-mark 11

ip rule add fwmark 11 table ISP1


> How can I route back thru ISP1(eth0) ONLY the packets of conections that first
> started over eth0 ?
>
> Thanks for any help
>
> Alex
>


[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