roles/protonvpn: Fix swanctl syntax

I believe the reason the VPN was not auto-restarting was because I had
incorrectly specified the `keyingtries` and `dpd_delay` configuration options.
These are properties of the top-level connection, not the child. I must
have placed them in the `children` block by accident.
jenkins-master
Dustin 2021-02-09 07:14:31 -06:00
parent 81417068c2
commit 243510e74a
1 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,8 @@ connections {
local_addrs = %defaultroute
remote_addrs = {{ protonvpn_server }}
vips = 0.0.0.0,::
keyingtries = 0
dpd_delay = 30s
local {
auth = eap-mschapv2
eap_id = {{ protonvpn_username }}
@ -11,8 +13,6 @@ connections {
auth = pubkey
}
children {
keyingtries = 0
dpd_delay = 30s
protonvpn {
remote_ts = {{ protonvpn_tunnel }}
start_action = start