I
I
int02h2011-12-11 22:41:09
Nginx
int02h, 2011-12-11 22:41:09

External access to the local network through the router ASUS WL-520GC

Hello, dear Habra community! I have an ASUS WL-520GC router and a static external ip. In the local network, which is located behind the router, there is a machine on which the http server is running. I would like to make it so that from the outside you can access the static ip-address of the router, and get to the http server on the local network.

To do this, I enabled the “Virtual Server” option in the router settings and set up the rule:
Port Range: 80
Local IP: 192.168.1.5
Local Port: 80
Protocol: TCP

The problem is that if I access a static ip from the internal network, then everything works, and if from an external network, it does not work.

What's my mistake? Tell me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shadowalone, 2011-12-11
@shadowalone

Most likely, you are prohibited from outside accessing port 80 (maybe not only on it).
If the WEB interface of the router hangs on port 80, change the port and open a firewall for port 80 from the outside.

N
Nikolai Turnaviotov, 2011-12-14
@foxmuldercp

1. Native firmware in 2008 was not at all functional, as soon as I installed something more complicated than the Internet via dhcp in the settings, enchanting glitches came out. after installing open-wrt, the router works for several years.
2. In essence, regardless of the firmware:
2.1 Specify the port, for example 9808, to access the admin panel from the Internet, if necessary.
2.2 Write a static IP address of the server where you want to forward port 80 (and, most likely, it will not be one port, but a large range)
2.3 Create an actual forwarding of port 80 to the internal IP address of the server 192.168. webserver that it works behind NAT in the apache, IIS settings or whatever you have.
Or, say in the router settings that all traffic is transparently forwarded to a specific IP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question