1
I have two interfaces: eth0 and wlan0.
I want all traffic to go though wlan0 except for port 80 traffic that should go on eth0.
Is there a way to setup the routing table so it does that?
My current routing table looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.69.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.69.0 * 255.255.255.0 U 0 0 0 eth0
1You can do this with source routing (policy routing), but it is not for the faint of heart. Setting up a transparent proxy on your router would probably be a much easier solution if its an option. – davidgo – 2013-03-17T04:32:09.483