this is some scripts for using openvpn in linux easier.
use vpn server
. example :
vpn de
make .openvpn_profile
in your home directory .
this file format is
yes
username
password
- use
vpnkill
to disconnect - use
isvpnconnected
to know if the vpn is connected ! - there might be some errors , you can always see the log by watching
~/.vpn_log
file .for examplecat ~/.vpn_log
- this scripts will work with VPN Makres servers , if you have another openvpn provider , change the vpn function server name to match that
- add this scripts to your bash_profile or bashrc so you wont have to run this script every time ;)