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

Also try through a screen but I don’t know how to indicate the sudo password to 
run the openvpn command.

My idea is to make it work in the background as the bash script I’m creating 
must run some tasks connected to a particular vpn.

Any suggestions?

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

Reply via email to