FRP Client for Home Assistant OS can be used to set up a reverse proxy with an FRP server.
FRP can be used to bypass port forwarding for home assistant. Install a remote server (On a server where port forwarding is allowed). And then connect through the client to the server of FRP.
This tool is able to do the configuration of Home Assistant automatically. With options for authentication, encryption and compression.
Install this repo under: Addons -> Add-on Store -> 3 dots in right -> Repositories -> Add this repo
(Optional) restart supervisor
For the server (On remote host) configure
[common]
bind_port = 7000
#Optional for dashboard
dashboard_port = 7500
dashboard_user = user
dashboard_pwd = userpass
#Optional for auth (Should match with Client settings)
authentication_method = token
token = sometoken
#Optinal for metrics
enable_prometheus = true
Run the program with: frps -c frps.ini
After setting up the server go to the configuration tab of the addon and set the correct settings according to the server configuration. Check the log of the addon after starting to make sure everthing went well.
Special thanks to: @steplov for the setup script