Answer the question
In order to leave comments, you need to log in
Mikrotik NAT between two LANs?
There is a host with Cloud Hoster Router from Mikrotik in the cloud. There is an external IP through which I want to forward ports.
There is a network at home, with the help of virtualization, I made a network of virtual machines, which have another MikroTik (virtual machine) as a router.
I have already connected these machines to each other, firstly I made an L2TP connection between them, set up a GRE tunnel.
The bottom line is that I can ping local machines on both sides, I can even get access to them.
I tested this by connecting to one of the host via vpn and logging into a machine with a different local subnet via RDP.
But no matter how I tried, the NAT rule didn't work. No traffic forwarding. Although everything is fine inside your own network and the rules work, but on the network of another router, the rule does not work either there or there.
Answer the question
In order to leave comments, you need to log in
It turns out that he did everything right, L2TP and GRE were the solution to the problem. The only problem was the absence of a masquerade in one of the routers, because on the first one I immediately installed it so that I had access to the Internet.
Well, then, as usual, I made the dst-nat rule through NAT and it worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question