I have a debian server, call it A, that is connected as an openvpn client to another network. Server A is also http and email server accepting connections from the internet. Now, one of the servers on the other network, call it B, is connecting to A over the internet; email and http. However those connections fail (timeout) as long as the routing setup on A is to route connections to B via the VPN tunnel.
My guess is that I need some kind of setup that will route replies to incoming connections from B over the internet instead of over the VPN tunnel.
This is the routing table on A:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 <snip> B VPN server 255.255.255.255 UGH 0 0 0 tun0
Any ideas how to solve this? Thanks!