Follow these steps to get the add-on installed on your system:
-
Navigate in your Home Assistant frontend to
Settings
->Add-ons
->Add-on Store (Bottom Right)
. -
Click the 3-dots menu at upper right
...
>Repositories
and add this repository's URL: https://github.com/mdzidic/hassio-tinc-vpn-client. -
Reload the page, scroll to the bottom to find the new repository, and click the new add-on named "Home Assistant Tinc VPN Add-on" (refresh the cache if it doesn't appear).
-
Click
Install
and give it a few minutes to finish downloading. -
Click the
Configuration
tab, and update configuration variables. -
Click the
Info
tab, then click onStart
and give it a few seconds to spin up.
Add-on configuration:
server_name: server01
server_public_key: paste-server-public-key-base64
connect_to: tinc-server-fqdn-or-ip
server_subnet: 10.0.0.1/32
client_name: client01
public_key: paste-client-public-key-base64
private_key: paste-client-private-key-base64
client_subnet: 10.0.0.2/32
client_route: 10.0.0.0/24
address_family: ipv4
Define server file name, match it with tinc server from hosts
directory.
Convert server public key to base64 format and fill the field.
Specifies which other tinc daemon to connect to on startup.
Copy subnet from tinc server configuration.
Define client file name, match it with tinc server from hosts
directory.
Convert client public key to base64 format and fill the field.
Convert client private key to base64 format and fill the field.
Set subnet for client and match it with tinc server configuration.
Set client network route which will be used for tinc-up
and tinc-down
scripts.
This option affects the address family of listening and outgoing sockets.
Got questions?
In case you've found a bug, please open an issue on our GitHub.