You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on IRC, on multiple 19.07.2 devices, openvpn configurations which use /etc/config/openvpn don't start automatically on boot. They try to but the openvpn command issued ends up being invalid:
brianjmurrell:
As discussed on IRC, on multiple 19.07.2 devices, openvpn configurations which use /etc/config/openvpn don't start automatically on boot. They try to but the openvpn command issued ends up being invalid:
# ubus call service list '{ "verbose": true, "name": "openvpn" }'
{
"openvpn": {
"instances": {
"foo": {
"running": false,
"command": [
"/usr/sbin/openvpn"
],
"term_timeout": 5
}
},
"triggers": [
[
"config.change",
[
"if",
[
"eq",
"package",
"openvpn"
],
[
"run_script",
"/etc/init.d/openvpn",
"reload"
]
],
1000
]
]
}
}
As you can see, the arguments for the openvpn command are missing.
The /etc/config/openvpn configuration for this:
# cat /etc/config/openvpn
package openvpn
config openvpn 'foo'
option nobind '1'
option float '1'
option client '1'
option comp_lzo 'yes'
option reneg_sec '0'
option dev 'tun'
option verb '3'
option persist_tun '1'
option persist_key '1'
option auth_user_pass '/etc/openvpn/userpass'
option remote 'vpn.example.com 1194'
option ca '/etc/openvpn/ca.crt'
option script_security 2
option up /etc/openvpn/script
option down /etc/openvpn/script
#option link_mtu 1542
option cipher 'AES-256-CBC'
option enabled '1'
The text was updated successfully, but these errors were encountered: