Hello All,
I know it's a tricky probably stupid question but I'm stuck....
Is there any way to route different protocols through different eth cards for the same destination in Linux? With route add or something like it?
For instance:
FTP to/from 192.168.1.1 goes through eth0 - gw2
telnet to/from 192.168.1.1 goes through eth1 - gw3
The problem is that I've a route to 192.168.1.1 through gw2 and iptables that allow this, FTP only in/out the eth0. But for telnet I want to go through gw3...
It's not a problem with the iptables, since I disabled and I got the same problem.
The telnet packet goes to eth1 but the server doesn't answers to the same eth since the destination of the telnet packet it's in the network from et1.
Any idea?
Thanks in advanced