Hello!
I’ve created L2TP/IPSec tunnel between 2 Mikrotik routers. Each of them has their own WAN address and subnet. I can reach Network 1 from Network 2 and opposite.
Question: How can I forward ports to Device inside Network 2 through Mikrotik 1?
Port forwarding to Device (192.168.2.5:1234) in Network 2 (192.168.2.0/24) through Mikrotik 1 (192.168.1.0/24) created from this works great.
P.S. Basically this is duplicate of this, but solutions mentioned there did not work.
EDIT:
At the moment I have NATed port 6000 on Mikrotik 1 to IP address on Mikrotik 2:
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=6000 protocol=tcp to-addresses=192.168.2.5 to-ports=1234
and added route at Mikrotik 2:
/ip route add distance=1 dst-address=12.34.56.78/32 gateway=VPN
where IP 12.34.56.78 is address from which I am connecting on Mikrotik 1.
Is there any better solution? I would rather configure everything on one device only.