Hello, I have a router mikrotik RB750. The WAN port is connected to my isp with static ip. I set up a pppoe server in mikrotik and my clients connect to mikrotik via pppoe authentication.
So far everything works.
my isp I assign a static IP. .
the problem:
Client 1 has a nas remotely. If you remotely enter my public static ip: port works correctly.
If the client 1 and 2, puts public static ip: port does not work.
In practice I can not access nas from pppoe client via public ip but only with internal ip to the network.
You can solve this problem?
You probably need to resolve this using Hairpin NAT or use DNS resolution to provide a different address for internal and external clients.
hello, thanks for the reply, I read the guide but I do not think face to the my case or at least not is what I understand .
The client 1 has an ip 192.168.1.10 and has a nas on port 10000. If I put as remote public ip address:10000 everything works. Instead, The client 1 if he puts public ip: 10000 does not works. The client 1 has to put local nas ip: 10000 to make it work.
I want that the client 1 can put public ip:10000 and functions
Yes - so you need Hairpin NAT to translate the the request to the public IP back to the local network.
I can not understand how to set up my network:
my setup is
/ ip firewall nat
chain=srcnat src-address=192.168.1.0/24 out-interface=WAN action=masquerade
I want you all ip 192.168.1.x can access the nas via public ip:10000
Could you give an example of the rule to create?
You can do this with dynamic public ip?
Sorry but my english is not good