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
parent
81417068c2
commit
243510e74a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue