Re: 2 internet connection problem :(

Linux Advanced Routing and Traffic Control

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

 



i want to put web and ftp traffic to eth2 and all other traffic to eth0
is it possible can anybody help me to do that

You will probably need to set up additional routing tables via the "ip route" command. One table will need to be the machine default and one will need to be the table that FTP traffic uses. Each table would use the upstream gateway for the connection that you want them to use as their default route. You will probably have to MARK the traffic that qualifies as FTP traffic via iptables and use an "ip rule" to match on the fwmark stating that marked packets need to use the FTP routing table.



Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux