X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/12b7d86229346c68e653a51d1e6598a5973901ba..HEAD:/services/vpn/templates/tinc.conf?ds=inline diff --git a/services/vpn/templates/tinc.conf b/services/vpn/templates/tinc.conf index 066e355..ecd0f6e 100644 --- a/services/vpn/templates/tinc.conf +++ b/services/vpn/templates/tinc.conf @@ -1,5 +1,5 @@ -Name = ${vpn.vpn_src} +Name = ${vpn.name} Device = /dev/net/tun -PrivateKeyFile = /etc/tinc/${vpn.vpn_src}/rsa_key.priv -ConnectTo = ${vpn.vpn_dst} +PrivateKeyFile = /etc/tinc/${vpn.name}/rsa_key.priv +ConnectTo = ${vpn.connect_to} Mode = switch