Joined: 28 Nov 2012 Posts: 17 Location: Dresden, Germany
Posted: Sat Oct 07, 2017 17:27 Post subject: change ssl port for webserver
Hi there
I have a local webserver that supports https and I want to make it accessible to the WAN. But as I connect to DDWRT via ssl port 443 is already occupied by DDWRT. So I tried to change the DDWRT https default port:
wd_sslport=443
to
wd_sslport=667
then
nvram commit && reboot
Then if I try to open my browser at "https://192.168.1.1:667" I get an "Unable to connect", but connecting to the old "https://192.168.1.1" I can reach still reach the webinterface.
What am I doing wrong? _________________ Riesige Gepanzerte Luftschiffe
Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Sat Oct 07, 2017 17:54 Post subject:
That port 443 is in use at the lan interface does not mean it's occupied at the WAN interface. Port forward 443 to your web server. Access it from internet (not your local lan) using the public wan ip address.
I will not recommend making the GUI accessible from the wan.
Joined: 28 Nov 2012 Posts: 17 Location: Dresden, Germany
Posted: Sat Oct 07, 2017 18:26 Post subject:
you're absolutly right and it was not my intention to serve the webinterface to WAN. I did not try to access from outside...
I will reset the sslport via nvram and make an portforward from WAN 443 to LANIP 10443 (my webserver ssl port) and try to connect from outside and not lan. I will report back... _________________ Riesige Gepanzerte Luftschiffe