hi guys im trying to configure custom port for luci panel instead of 443 im trying to set 8443 , however when i do it…. and then when i do 0.0.0.0:8443 and go to https://192.168.1.1:8443 it says conection refused or rejected, this is not happening on my other openwrt routers, what can it be? i tried factory reset several times and clean install and just setting up uhttpd via luci alone and still fail, this is weird to me and that is why im asking for help because my other routers have the same configuration and in them they are working, i summon the tech savy pls help
Did you opened that port on the input rules for lan?
nope, how can i? it is weird in the other routers i did not needed to open a port rule, everything worked out from factory
Changing port inside LAN is a bit useless (who are you hiding from?). Opening it for WAN is DANGEROUS. Chinese port scanners will discover it in matter of days. Not kidding, on average I have 10000-15000 port probes every day.
P.S. by default WAN has no rules to allow neither port 80 nor 443. You have to make it yourself. This is done intentionally. If you want to access your router from outside you have to install VPN first...
i know im just trying to change on lan, and idem, i dont know why is not working on this new one, despite others having the exact cfg doesnt. my neighbor scan my router (i share wifi with him)
Well, in this case you have to share configs you've changed for others to review/check it.
For example, I changed my /etc/config/uhttpd to look like this, restarted uhttpd by running /etc/init.d/uhttpd restart and got Web UI working on port 8443 without even restarting my router...
config uhttpd 'main'
list listen_http '0.0.0.0:80'
list listen_http '[::]:80'
list listen_https '0.0.0.0:8443'
list listen_https '[::]:8443'
option redirect_https '0'
So, did you manage to reconfigure uhttpd?
give me a sec i will show you mine
config uhttpd 'main'
#list listen_http '0.0.0.0:80'
#list listen_http '[::]:80'
list listen_https '0.0.0.0:8443'
list listen_https '[::]:8443'
option redirect_https '1'
but when i restart it says connection rejected https://192.168.1.1:8443
why
At least now we know why it doesn't work. How did you manage to lose those?
i dont know but it is not creating the certs too if i hit remove the cert it would create a new one, it does not and i dont know how those certs were lost because everything is factory just installed uhttpd yesterday with openwrt maybe a problem with openwrt firmware selector?
Reset to defaults. Test the https connection per the default config. Then change only the https port and see what happens. Don’t comment out the http port or make any other changes.
ok i will come back with results
They are created upon reboot.
flashed back to defaults and still uhttpd not generating the certs, if i hit https://192.168.1.1 (not 0.0.0.0:80) will show connection refused, this is my cudy tr3000 v1 in rc 10 stable
base-files ca-bundle dropbear firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia libc libgcc libustream-mbedtls logd mtd netifd nftables procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd kmod-usb3 kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware luci luci-app-watchcat luci-app-https-dns-proxy luci-app-uhttpd curl nano luci-app-sqm dnsmasq-full wpad-mini
here they arent creating upon reboot, shall i try dmesg?
Dmesg shows nothing about it.
Seems you used firmware-selector, if you customize packages luci-ssl is removed from that list (or luci added in case of snapshots) - just start from gmeric sysupgrade and add packages locally, then handle upgrading using luci-app-attendedsysupgrade and/or owut.
thank you sir i will try


