zanophol
My server listens on eth0 (internet) for several services. I also have it set as a openvpn client for downloading purposes (sabnzbd and torrents) with a tun0 interface. I want to send outgoing data out on tun0, while still allowing incoming on eth0 when I am travelling. My firewall (for now) treats eth0 and tun0 as the exact same. I think I have a routing issue.
server route:
Destination Gateway Genmask Flags Metric Ref Use Iface
default 20.162.130.9 128.0.0.0 UG 0 0 0 tun0
default cpe-061-134-216 0.0.0.0 UG 0 0 0 eth0
default servernameleftout. 0.0.0.0 UG 0 0 0 br0
20.20.20.0 * 255.255.255.0 U 0 0 0 br0
20.162.130.1 20.162.130.9 255.255.255.255 UGH 0 0 0 tun0
20.162.130.9 * 255.255.255.255 UH 0 0 0 tun0
61.134.216.0 * 255.255.252.0 U 0 0 0 eth0
108.61.47.139.c cpe-061-134-216 255.255.255.255 UGH 0 0 0 eth0
128.0.0.0 20.162.130.9 128.0.0.0 UG 0 0 0 tun0
tun0 ip: 20.162.130.10
eth ip: 61.134.218.35