Page 1 of 1

Openvpn missing bash

Posted: Thu Nov 10, 2022 3:39 pm
by nevets
New install, whole disk, current latest Ghost....

After installing openvpn and then manually configuring a connection [ie making my own .ovpn files] the init script fails to run the openvpn up/down commands with a report 'Bash: failure to execute external program'.
It took me ages to realise what this message actually meant - that bash itself was missing...
Openvpn installs without bash as a required package.

Please consider making bash a default package for Ghost installations.
I think there's an assumption from the community of developers that it will always be present on a system.
Thanks,
Steve

Re: Openvpn missing bash

Posted: Thu Nov 10, 2022 7:03 pm
by hans.wolters
pkg search openvpn

B.t.w., try wireguard if you can spend a bit of time on it. When using something like Proton then it is very easy to setup.

Re: Openvpn missing bash

Posted: Fri Nov 11, 2022 5:02 am
by nevets
Thanks Hans, I've yet to try wireguard....
The openVpn install and setup isn't too bad - this page details the process:
https://protonvpn.com/support/linux-openvpn/
The only FreeBSD difference is
1. the folder for update-resove-conf script sits at /usr/local/etc/openvpn/
2. the opvn files need a path edit to this folder for the up/down commands to work.

Incidentally, Proton just released an in-house alternative to both wireguard and openvpn as an app for smnartphones [not pc].

Steve