Hi,

On 02/02/2022 14:02, Emanuel Gonzalez wrote:
Hi everyone

I’m trying to start a VPN connection through a shell script but I can’t run it in background, I’ve tried with:

sudo openvpn --config "/home/user/config.ovpn" &
sudo openvpn --config "/home/user/config.ovpn" >/dev/null 2>&1

tried adding --daemon ?

However, the best way is to rely on your system to launch a daemon (i.e. via systemd or openrc)

Regards,

--
Antonio Quartulli


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to