Simple vpn script works with openvpn protocol and .ovpn files For the script to work successfully, before using it, you must make it an executable file: $ chmod +x vpn-script After this, you can use the script by running it with the following command: $ ./vpn-script