Hello All,
I have a strange problem that I hope you may be able to help with!
I have a bench test scenario where I have two remote networks being connected to a central network by a L2TP/IPSec VPN through an ISP router. I have 3 MikroTik CRS125-24G-1S-RM switches, one acting as VPN server and the other two as VPN clients as shown in the diagram below:
[attachment=0]Ping issues over VPN.png[/attachment]
ether23 of MikroTik VPN client A is connected to Client A and ether23 of MikroTik VPN client B is connected to Client B respectively.
ether22 of MikroTik VPN client A is connected to one of the LAN ports on ISP Router A and ether22 of MikroTik VPN client B is connected to one of the LAN ports on ISP Router B.
The ISP routers are connected to the VPN server by a standard Ethernet switch. The ISP routers have been set to allow passthrough of an L2TP/IPsec traffic and port forward to the VPN clients.
ether2 of the VPN server is connected to this standard Ethernet switch and ether3 connected to Client C.
**Now the issue: **
I am able to ping between clients A & C, B & C and ping the interfaces on the MikroTiks ok through the VPN tunnels, however I am not able to successfully ping the LAN interface of ISP Router in each of the two remote networks, that is the 192.168.2.1 and 192.168.4.1 addresses from Client C.
A ping request from Client C to the 192.168.x.2 IP address of the MikroTiks on the LAN hosted by either of the two ISP routers is successful.
However, a ping request from Client C to the LAN IP addresses (192.168.x.1) of either of the two ISP routers fails?!
Looking into the issue with Wireshark, the ping request is being successfully sent over the tunnel from Client C, decrypted by each VPN client and forwarded onto the ISP router, as I can see that the ping reply sent by each ISP router is being received at ether2 of the VPN server, but is not being seen on ether3 where Client C is connected.
Strangely, a ping request sent from the VPN server to each of the ISP router LAN interfaces is successful but for some reason it looks like this traffic is not being presented to ether3. Looking at the ARP table for the VPN server, the entry for client C is present and valid showing the correct MAC address, IP address and port (ether3) for Client 3.
I’m stumped why the VPN server is dropping the ping response packet and not switching the ping response from the ISP Router LAN interfaces from ether2 to ether3 when the VPN server knows where to forward it to, but does this ok for a ping request from Client C to the 192.168.x.2 interfaces on MikroTik VPN clients.
Anyone got any ideas?
