Accessing subnets of other L2TP/IPSec tunnel clients.

Hello Everybody!

I want to access subnet of other client connected to the same L2TP/Ipsec VPN.

Detailed explanation

I have two Mikrotik routers. I have set up L2TP/Ipsec tunnel between them. One is L2TP server and other is a client.
I did not set up VPN pool but I specified remote addresses via /ppp secret add name

I added the necessary routes and those two routers can reach each other’s subnet where the IP devices have been connected.

However, the problem arises when I connect to this L2TP/IPsec server via a laptop from office location. I still can reach the router which has L2TP server but I cannot ping the other router which is a client to the same L2TP server, not even talking about accessing its subnet on ether2.

To better illustrate the setup I attached a file showing the network structure. (I want to access L2TP client (Mikrotik router) from the Laptop)

Thank you!
internettikls.jpg

I solved the problem.
I got access to the second router from the laptop by adding the following route in the second Mikrotik router (which works as a L2TP client):
/ip route add dst-address=172.16.1.12/32 gateway=l2tp-out2
dst-address is the Remote IP for the L2TP client which I set on the Laptop.

So the thing I missed was the fact that I had to add the route in the second Mikrotik router (which is L2TP client itself) to the VPN ip which I set up for the account used by Laptop and then I can access the Mikrotik router (which is L2TP client) from my laptop (which is also L2TP client).