tasket / Qubes-vpn-support

VPN configuration in Qubes OS
GNU General Public License v3.0
126 stars 28 forks source link

Openvpn option-handling bug results in up-script errors #19

Closed tasket closed 6 years ago

tasket commented 6 years ago

From troubleshooting issue #16 :

There is no rhyme or reason to the way openvpn overrides certain options from the command line. The --up option is a particularly bad example.

openvpn --config client.ovpn --up /usr/bin/qubes/myscript.sh  # uses ovpn up setting

openvpn --config client.ovpn --up myscript.sh                 # uses ovpn up setting

openvpn --up /usr/bin/qubes/myscript.sh --config client.ovpn  # uses ovpn up setting

openvpn --up myscript.sh --config client.ovpn                 # uses COMMAND LINE up setting!

https://forums.openvpn.net/viewtopic.php?f=15&t=26229

This results in script errors when VPN provider specify their own up scripts in their config files.

Requires a workaround.

tasket commented 6 years ago

Fixed in beta4.