HomeAssistant as a vpn client, and also a gateway #110
Replies: 3 comments
-
In the configuration,
|
Beta Was this translation helpful? Give feedback.
-
There's no finish method of the VPN except restart the whole operation system, because there's no finish script in the add-on docker image. You can also |
Beta Was this translation helpful? Give feedback.
-
This add-on cannot be used as a client and will never be made compatible for that. This has been discussed many times before and simply will not happen. |
Beta Was this translation helpful? Give feedback.
-
Change the
config.json
, add"host_network": "true"
, just like thismy configuration:
where the
x.x.x.x:51820
is the ip and vpn port of server, 192.168.1.0/24/gateway192.168.1.1 is the local network of the homeassistant.Then, the HA connect to the vpn server; and if there's NAT rule set on server, you can set a local device's gateway as the IP of HomeAssistant to let it go out via the VPN.
Beta Was this translation helpful? Give feedback.
All reactions