Page 1 of 1

Subnet to subnet works except from OpenVPN Server itself

Posted: Wed Apr 03, 2019 11:54 pm
by andhalib
Hi,

I followed
https://community.openvpn.net/openvpn/w ... dVPNdevtun

to a tee and any PC on the same subnet of the OpenVPN server can ping any PC in the subnet behind the OpenVPN client and any PC in the subnet behind the OpenVPN client can ping any PC in the subnet of the OpenVPN server. Excellent and works as expected!

The problem is that the OpenVPN server itself *cannot* ping or connect to any of the PCs in the subnet behind the OpenVPN client. The OpenVPN server runs on the gateway computer. Here's my network topology and ping results and routing on the OpenVPN Server.

AnyPC <----> Subnet 192.168.2.x <---> OpenVPN Server and gateway 192.168.2.1 <----Internet---> OpenVPN Client 192.168.1.6 <---Gateway 192.168.1.1 <---subnet 192.168.1.x--> AnyPC

Ping From PC 192.168.2.22 to PC 192.168.1.124 works
Ping from PC 192.168.1.3 to PC 192.168.2.22 works
Ping from Server 192.168.2.1 to 192.168.1.6 works
Ping from Server 192.168.2.1 to 192.168.1.124 fails.

Kernel IP routing table on OpenVPN Server
Destination Gateway Genmask Flags Metric Ref Use Iface
default 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
lns9-xxxx12_ 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
172.16.91.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
192.168.1.0 192.168.11.2 255.255.255.0 UG 0 0 0 tun0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.11.0 192.168.11.2 255.255.255.0 UG 0 0 0 tun0
192.168.11.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.252.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1

I don't believe that it is a firewall issue or else none of the PC's would be able to communicate with each other at all.
Any help and guidance would be greatly appreciated.

Andrew