Protonvpn issue: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)

I’m trying to test this out right now…

Set up a ProxyVM as a VPN gateway using iptables and CLI scripts.

I’m getting this issue in step:
" Test your client configuration: Run the client from a CLI prompt in the ‘vpn’ folder, preferably as root. For example:

sudo openvpn --cd /rw/config/vpn --config openvpn-client.ovpn
```"
sudo openvpn --cd /rw/config/vpn --config openvpn-client.ovpn
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information.
...

I found this:
https://www.reddit.com/r/ProtonVPN/comments/6w2vh0/up_script_fails_with_etcopenvpnupdateresolvconf/

Do i need to change the DNS somewhere or did i mess up something else on the way? Hmm. Thanks

edit: this might help.. not sure.
https://github.com/ProtonVPN/scripts/blob/master/update-resolv-conf.sh

Ok, so i fixed this error when trying debian 10 instead of fedora… I can connect now…
Thanks though… And if you know what could been wrong you can tell out of education if someone feels like it…

edit… Im guessing it could have been that i did not remove:
"script-security 2
up ‘qubes-vpn-handler.sh up’
down ‘qubes-vpn-handler.sh down’

Remove other instances of lines starting with script-security, up or down should there be any others. Save the script. Restart the client and test the connection again …this time from an AppVM!"

Which i noticed now… I will try next time.

You could follow the guide i provide here.