I am able to access the admin panel at the default IP address of this router (192.168.1.1), but I would like to change the admin panel to be accessed at another port. Currently, it is on port 80, while I would like to have an external web server accessed on port 80. How do I change the admin panel login to be on another port, such as 8080?
You don't need to do anything special, as long as you don't want to access the admin interface from the external Internet.
- Turn on port forwarding for port 80 and route to your webserver
- Try accessing 192.168.1.1:80 (note that the router's admin interface still works)
- Try accessing your router through its external IP (your webserver should come up)
Although I would strongly recommend against doing this:
- Login to the router from your LAN.
- In the left column click on "Administration"
- Find the option "Enable Web Access from WAN" select Yes and click the Apply button.
- You can also change the default portnumber from 8080 (perhaps in your case it says 8443 here) to something else. But I'd stick to 8080 if I were you.
The helptext of this option says:
This feature allows you to configure the wireless router via the Internet. The default port is 8080 and you can use http://[[WAN IP]]:8080 or http://[[DDNS name]]:8080 to launch the wireless router's web user interface.
Note that this way port 80 remains available to be forwarded to a webserver on your LAN.
Also: make sure you have a very strong password for the login account as this exposes the router's setup UI to the big bad world.
Let's assume your public ip is 188.8.131.52
First, you have your router at 192.168.1.1 Its admin panel is running at port 80, so you can access it with "192.168.1.1:80" using your browser, or just "192.168.1.1" (because the browser will visit port 80 by default). From outside, you can access this by just doing "184.108.40.206(:80)".
Now you have your web service running at 192.168.1.2 Its service also uses port 80, so you can access it with "192.168.1.2:80"
From LAN, you can access both different services by doing "192.168.1.1" and "192.168.1.2".
Your router probably automatically forwarded its own port 80 to the outside, so you can access it from outside by going to 220.127.116.11 by default. But your router is also just a device in your network.
So when you entered a rule that says local ip = 192.168.1.2, local port = 80, port range = 80
This basically means 18.104.22.168:80 -> 192.168.1.2:80
Now you can enter a different rule local ip = 192.168.1.1, local port = 80, port range = 8080
This will make possible 22.214.171.124:8080 -> 192.168.1.1:80