OpenVPN running in background

Simply run the following command in terminal:

sudo openvpn --config ~/Documents/path-to/VPNConfig.ovpn --daemon


It is not nescessary to leave the terminal open!

To kill the connection, stop the process.
Identify the correct process ID number.

ps aux | grep openvpn


Kill the process.

sudo kill [id-number]


Comments

Leave a Reply