Files
configpolicy/roles/protonvpn/templates/protonvpn.conf.j2
Dustin C. Hatch b7bbafd189 r/protonvpn: Move remote_addrs file to /var
If `/` is mounted read-only, as is usually the case, the Proton VPN
watchdog cannot update the `remote_addrs` configuration file.  It needs
to be stored in a directory that is guaranteed to be writable.
2022-08-20 18:18:21 -05:00

32 lines
690 B
Django/Jinja

connections {
protonvpn {
local_addrs = %any
include /var/lib/protonvpn/remote_addrs
vips = 0.0.0.0,::
keyingtries = 0
dpd_delay = 10s
local {
auth = eap-mschapv2
eap_id = {{ protonvpn_username }}
}
remote {
auth = pubkey
}
children {
protonvpn {
remote_ts = {{ protonvpn_tunnel }}
start_action = start
close_action = start
dpd_action = start
}
}
}
}
secrets {
eap-protonvpn {
id = {{ protonvpn_username }}
secret = {{ protonvpn_password }}
}
}