Hello,
I am running an OpenVPN tunnel between two sites. Both sites had Linux firewalls with the OpenVPN running directly on them. The tunnel worked perfectly (i.e., machines behind each firewall could reach the machines across the tunnel)
At one of the sites ("Site A"), we had to replace the Linux firewall with a Cisco ASA, and I made the Linux firewall a OpenVPN server sitting behind it. The OpenVPN port is being forward to the Linux server from the Cisco. The OpenVPN server at Site A has routing enabled and one IPTables command to masquerade the VPN subnet.
I can establish the tunnel no problem. The problems I have having are:
* From the Linux firewall at Site B, I can ping across the tunnel and get response from servers and workstations at Site A (that are on the LAN subnet at Site A)
* From a workstation or server at Site B, I can ping the IP of the OpneVPN server at Site A, but no workstations or server. A traceroute from Site B to an IP on the LAN at Site A seems to make it to the OpenVPN server at Site A, but goes no further.
* From a workstation or server at Site A, I am unable to ping any machine on Site B's LAN
Here is the routing table from the OpenVPN server at Site A:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.254.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.40.0 192.168.254.2 255.255.255.0 UG 0 0 0 tun0
192.168.10.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0.10
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 eth0.10
In the above, 192.168.254.x is the VPN tunnel; 192,168,254,1 is the IP at Site A and 192.168.254.2 is the IP at Site B. 192.168.40/24 is the LAN subnet at Site B and 192.168.10.0/23 is the LAN subnet at Site A.
Here is the routing table from the Linux firewall/OpenVPN endpoint at Site B:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.254.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.40.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.10.0 192.168.254.1 255.255.254.0 UG 0 0 0 tun0
111.222.128.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
0.0.0.0 111.222.128.1 0.0.0.0 UG 0 0 0 eth0
In the above, the same applies from Site A, except the 111.222.128.0 subnet is the public IP on the firewall (I changed it for purposes of this post so it was not identifiable)
Any ideas? I assume this is a routing issue, but I am not sure if it is something that should be done on the Cisco ASA at Site A, or the Linux OpenVPN server (also at Site A)?
Thanks! :-)