Routing between two OpenVPN tunnels fails

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
nemesis23
OpenVpn Newbie
Posts: 1
Joined: Wed Oct 24, 2012 12:44 am

Routing between two OpenVPN tunnels fails

Post by nemesis23 » Wed Oct 24, 2012 1:18 am

Hi, There! Could not find any related thread. Probably someone can deal with this..

We have three sites A, B an C. There is an OpenVPN link from A to B and from A to C. A is the client for both.

Bnet Cnet
| |
B C
\ /
\ /
V
A
|
Anet

Anet can communicate with Bnet and Cnet just fine. Both Bnet and Cnet can communicate with Anet. The problem is that Bnet cannot communicate with Cnet.

The routing on both B and C is configured from the openvpn.conf:

route 192.168.108.0 255.255.255.0
route 10.9.0.0 255.255.0.0

The result is visible in "route -n". It works for 192.168.108.x (Anet) but not the others.

When I do a "tcpdump -i tun0 proto ICMP" on B and A when pinging C from B, I can see the requests getting into the tunnel but not out of it:

17:34:16.216271 IP 10.8.0.1 > 10.9.0.1: ICMP echo request, id 40798, seq 1, length 64


There are no firewall rules at all, all of the policies are ACCEPT.

Is there anything preventing packets from one client tunnel to get to another client tunnel ?

Post Reply