I port forwarded different services on the public interface of my router (ports 22, 80, 443). It works fine when I access the services from another public ip.
For example: Computer A (public ip: 1.1.1.2) -> My router (public interface: 1.1.1.3:80) I can access the website correctly on 1.1.1.3:80 from Computer A
My issue is that I cannot access the forwarded ports from any device on the LAN no matter if it's by using the public or private ip address of the router. I always get redirected to the router configuration page (in case of port 80 for port 22 bound to anything).
For example: Computer B (192.168.0.2) -(LAN: 192.168.0.0/24)-> (Private interface: 192.168.0.1) My router (public interface: 1.1.1.3:80) I cannot access the website on 1.1.1.3:80 from Computer B, instead I get the router configuration page.
It seems the router detects I am in the LAN and in that case does not apply the port forwarding rules. I would like to prevent this behavior and be able to reach my services from my router public ip no matter if I am or not in the LAN. Remote service access is disabled on the router (I cannot access the admin interface from another public ip)
Do you know if there is anything to prevent this? I could not find anything relevant.
I appreciate your help. Thank you!