jotyGill / openpyn-nordvpn

Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
GNU General Public License v3.0
628 stars 114 forks source link

Escape quotes while splitting openvpn_options #275

Closed jf2718 closed 2 years ago

jf2718 commented 3 years ago

Openvpn has arguments that can have spaces in them, like --route-up "script.sh arg1".

1951FDG commented 3 years ago

Hi @jf2718 ,

Yes, when I invoke openpyn with openvpn_options, I simply enclose the openvpn_options with single quotes like this, --openvpn-options '$openvpn_options', I believe this is the correct way to do that.