Simple, lightweight SOCKS5 proxy server written in Go, based on serjs/socks5-server.
Route traffic from Home Assistant or other services through a SOCKS5 proxy.
Restrict proxy access to specific devices on your network.
Limit which external services can be accessed through the proxy.
# Example configuration
proxy_user: "" # Username for authentication
proxy_password: "" # Password for authentication
allowed_ips: [] # List of allowed client IPs
allowed_dest_fqdn: "" # Regex pattern for allowed destinations
| Option | Description | Default | Required |
|---|---|---|---|
proxy_user |
Username for proxy authentication | "" |
No |
proxy_password |
Password for proxy authentication | "" |
No |
allowed_ips |
List of client IPs allowed to connect | [] |
No |
allowed_dest_fqdn |
Regex pattern for allowed destination addresses | "" |
No |
After starting the add-on, configure your applications to use:
homeassistant.local:1080proxy_user: ""
proxy_password: ""
allowed_ips: []
allowed_dest_fqdn: ""
proxy_user: "myuser"
proxy_password: "mysecurepassword"
allowed_ips: []
allowed_dest_fqdn: ""
proxy_user: "myuser"
proxy_password: "mysecurepassword"
allowed_ips:
- "192.168.1.100"
- "192.168.1.101"
allowed_dest_fqdn: ""
Only allow connections to specific domains:
proxy_user: "myuser"
proxy_password: "mysecurepassword"
allowed_ips: []
allowed_dest_fqdn: ".*\\.example\\.com"
Without authentication:
curl --socks5 homeassistant.local:1080 https://ipinfo.io
With authentication:
curl --socks5 myuser:mysecurepassword@homeassistant.local:1080 https://ipinfo.io
Create a shell command to test connectivity through the proxy:
shell_command:
test_socks_proxy: 'curl --socks5 homeassistant.local:1080 https://ipinfo.io'
This proxy can be used with other add-ons that support SOCKS5, such as:
proxy_user and proxy_password are set| ← Back to Add-ons | View on GitHub |