# usergroup option, if required by some servers
# option usergroup 'USERGROUP'
+ # Reconnect after a temporary network down time (in seconds)
+ #option reconnect_timeout '30'
+
# For second factor auth:
# when a fixed 2FA password can be used
proto_config_add_int "port"
proto_config_add_int "mtu"
proto_config_add_int "juniper"
+ proto_config_add_int "reconnect_timeout"
proto_config_add_string "vpn_protocol"
proto_config_add_boolean "no_dtls"
proto_config_add_string "interface"
password2 \
port \
proxy \
+ reconnect_timeout \
server \
serverhash \
token_mode \
[ -n "$os" ] && append_args "--os=$os"
[ -n "$csd_wrapper" ] && [ -x "$csd_wrapper" ] && append_args "--csd-wrapper=$csd_wrapper"
[ -n "$proxy" ] && append_args "--proxy=$proxy"
+ [ -n "$reconnect_timeout" ] && append_args "--reconnect-timeout=$reconnect_timeout"
json_for_each_item proto_openconnect_add_form_entry form_entry