Openvpn missing bash

Questions about the installation of FreeBSD
Post Reply
nevets
Posts: 163
Joined: Tue Jun 23, 2020 3:54 am

Openvpn missing bash

Post 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
hans.wolters
Posts: 6
Joined: Fri Oct 28, 2022 9:41 am

Re: Openvpn missing bash

Post 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.
nevets
Posts: 163
Joined: Tue Jun 23, 2020 3:54 am

Re: Openvpn missing bash

Post 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
Post Reply