maikcat wrotecheck routing tables for all servers involved,
also check that they have ip forwarding enabled..
Michael.
Thanks Michael for replying.
I doubled checked the routing table on all three servers,
On server A (server behind openvpn subnet):
The routing to openvpn clients, traffic goes through server B (the openvpn server, as a gateway):
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 116.196.32.1 0.0.0.0 UG 0 0 0 eth0
10.8.1.0 10.9.201.2 255.255.255.0 UG 0 0 0 gre1
10.9.201.1 0.0.0.0 255.255.255.255 UH 0 0 0 gre1
You can see that all the traffic to 10.8.1.0 subnet goest to 10.9.201.2 (IP-IP) tunnel to openvpn server.
On Server B (openvpn server):
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 106.187.55.1 0.0.0.0 UG 0 0 0 eth0
10.8.1.0 10.8.1.2 255.255.255.0 UG 0 0 0 tun0
10.8.1.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
All the traffice to 10.8.1.0 subnet goes to openvpn tunnel.
On Server C (openvpn client):
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.1.0 10.8.1.5 255.255.255.0 UG 0 0 0 tun0
192.168.185.0 10.8.1.5 255.255.255.0 UG 0 0 0 tun0
All the traffic to 192.168.185.0 subnet goes through openvpn tunnel.
ip forwarding is enabled on all three servers.
Any other suggestions?
Thanks!