@viragomann said in Cannot access webservers through vpn that are on a different gateway:
@silvered-dragon said in Cannot access webservers through vpn that are on a different gateway:
if I masquerade the remote networks on the central mikrotik behind the lan interface, things works.
So the only two reasons for failing without that I can think off are
the route doesn't work
the destination server itself blocks the access
Blocking access from outside its own subnet is the default behavior of system firewalls, however, a webserver should be configured to accept access from anywhere. I assume, the server is accessible from the internet.
@silvered-dragon said in Cannot access webservers through vpn that are on a different gateway:
But honestly I'm not sure that masquerading the remote lan is a good practice.
The only one drawback is that you cannot identify the real source address on the destination device, as long as you do the masquerading only for the remote lan.
I'm 100% sure that there is no issue related on the servers side cause I created new vms with basic configuration, and I cannot access nothing in tcp even a simple debian+ssh