Skip to content

JaccoVeldscholten/HassIO-FRP-Client

Repository files navigation

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Home Assistant OS FRP Client

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.

Installation

Install this repo under: Addons -> Add-on Store -> 3 dots in right -> Repositories -> Add this repo

(Optional) restart supervisor

Server config (FRPS.ini)

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

Client config (FRPC.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.

License

MIT

Authors

Special thanks to: @steplov for the setup script