Posted: Mon Apr 24, 2023 21:49 Post subject: Web GUI conflicts with http server I want to run on port 80
Hi everyone
I'm a first time poster but a long time user of DD-WRT on my R7000 (and absolutely loving it!). This is probably a stupid question, but I couldn't find an answer anywhere on the internet, so here goes: I'd like to serve an http server from a local computer publicly via port 80, but this obviously conflicts with the router's own web GUI. What's the correct solution here? I couldn't find a setting anywhere that puts the router's web GUI on another port. Ideally, I'd like to either have the web interface on a different port entirely or at least have the website available on port 80 when accessed from outside my local network. Or perhaps there's some completely different alternative here that I'm not seeing.
Thanks in advance for any help you guys have to give!
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Tue Apr 25, 2023 6:40 Post subject:
Hi and welcome to the forum...
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
When you post to the forum its good to start with, router brand/model and current firmware number..
It makes things better...
Well, you can disable http GUI and enable https if this will sort the issue..
otherwise you can change the GUI ports
log in via CLI (telnet or SSh)
nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot
Then access your router via
http://routeripaddress:8083 _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 9:08 Post subject:
Alozaros wrote:
log in via CLI (telnet or SSh)
nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot
Just a reminder: can also be done using Admin->Command Shell->Commands of WEBUI.
Would be great if there is an option for http_lanport in the WEBUI, but will need extra work by the develoeprs. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Tue Apr 25, 2023 9:21 Post subject:
mwchang wrote:
Alozaros wrote:
log in via CLI (telnet or SSh)
nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot
Just a reminder: can also be done using Admin->Command Shell->Commands of WEBUI.
Would be great if there is an option for http_lanport in the WEBUI, but will need extra work by the develoeprs.
I'll rather not use that GUI CLI option for anything..but use appropriate CLI via telnet or ssh..
And why would you need extra unnecessary futures, that you can edit via CLI..just wondering..?? _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
The webUI doesn't listen on the WAN port via http port 80 unless you configure it to. Realistically, all you should have to do is forward port 80 on the WAN to the specific static IP of your webserver, but apparently, this has been a problem in the past. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Tue Apr 25, 2023 14:12 Post subject:
dale_gribble39 wrote:
The webUI doesn't listen on the WAN port via http port 80 unless you configure it to. Realistically, all you should have to do is forward port 80 on the WAN to the specific static IP of your webserver, but apparently, this has been a problem in the past.
Posted: Tue Apr 25, 2023 14:59 Post subject: Re: Web GUI conflicts with http server I want to run on port
tuxbyte wrote:
I'd like to serve an http server from a local computer publicly via port 80...
...Or perhaps there's some completely different alternative here that I'm not seeing.
many years back I had trouble with 'Port Forward' so I just have always used 'Port Range Forwarding'