How to make OpenVPN warn me before disconnecting?
Posted: Tue Dec 22, 2015 12:17 pm
I have been using OpenVPN command line tool in Linux Mint 17.2 with PrivateTunnel server (free account).
I downloaded a config file and just started the VPN with:
Free accounts only have 500 MB of data usage and I noticed that when my data was used up, I was disconnected without any warning.
I just continued using the internet without knowing that I wasn't inside the VPN anymore.
Is there an option I can add to the openvpn command (or the config file) to either give me a warning that I am about to be disconnected...or to knock me offline completely when the vpn disconnects..or something like that?
(I have network-manager-openvpn-gnome installed but when I use openvpn in the terminal I don't get notifications, and I would like to.)
I downloaded a config file and just started the VPN with:
Code: Select all
sudo openvpn MyConfigFile.ovpn
I just continued using the internet without knowing that I wasn't inside the VPN anymore.
Is there an option I can add to the openvpn command (or the config file) to either give me a warning that I am about to be disconnected...or to knock me offline completely when the vpn disconnects..or something like that?
(I have network-manager-openvpn-gnome installed but when I use openvpn in the terminal I don't get notifications, and I would like to.)