I have a server with three network interface : eth0 eth1 and wlan0
eth1 and wlan0 are connected to 2 ISP.
eth0 is connected to my LAN.
I have a load balancer who redirect the connection from the LAN to eth1 or wlan0 with the round robing algorithm. But I would like to do this :
If somebody on my LAN want to connect on the port 443 the connection is always redirect through the wlan0 interface and never to the eth1.
I have make many research but I don't find a solution.
Please help me.
Check out my thread on Network redundancy on how I used policy based routing on my server. Policy based routing allows you to route traffic based on flexible rule sets for each network adapter. Rules can be based on port numbers, src, dst ip addresses or marked/tagged packets.
My config was pretty much ripped from the site http://lartc.org/howto/lartc.rpdb.multiple-links.html
There's also some good info on: http://www.policyrouting.org/PolicyR...NLINE/TOC.html