I’m currently using Hassbian, and I can’t forward port 443 to 8123 with my router (Sky Hub), but I found a way of doing it through Terminal (on this forum).
Most routers allow you to set up rules for port forwarding. I’m not sure if this matches your router, but it looks like it is possible, just more confusing than most routers.
I chose to use a different port than 443 so that I would be less likely to show up if someone is scanning standard ports. It is still using ssl and works with any browser as well as the iOS app.
Can you reflash your router with something like advanced tomato? Gives you a lot of options. Can even ssh to it and set it up to do all kinds of fun things. I have used mine as an audio server with a usb card.
Isn’t it possible to change the server_port parameter of the http component with hassio? If there’s no other service internally that has to strictly use 443 and the router just doesn’t support proper NAT, then switching the port in hassio seems like an easy workaround.
Not sure. I might look into that in the future. Thanks
[quote="Kazakaz, post:8, topic:40217, full:true"]
Not sure if you have the same router, but here's a video on how to setup port forwarding on a Sky Hub router.
[/quote]
It’s port mapping I’m wanting to do (redirecting a specific external port to a different internal port), not port forwarding (just open some ports)
[quote="danielperna84, post:9, topic:40217, full:true"]
Isn't it possible to change the `server_port` parameter of the [http](https://home-assistant.io/components/http/) component with hassio? If there's no other service internally that has to strictly use 443 and the router just doesn't support proper NAT, then switching the port in hassio seems like an easy workaround.
[/quote]
Yes, I could do this. I might have to end up doing that if I don’t find a better solution.
The reason I want to avoid this if possible is I have quite a few Google Assistant → webhook applets setup in IFTTT, and I’d have to go through them all and add the port number to my URLs. Not terrible, but I’d like to avoid that if possible.
[quote="NotoriousBDG, post:10, topic:40217, full:true"]
Install the nginx add-on. It will do the forwarding as well as handle ssl.
[/quote]