All Projects → johanneszab → vpn-auto-reconnect.sh

johanneszab / vpn-auto-reconnect.sh

Licence: other
A simple bash script for autoreconnect to OpenVPN via NetworkManager command-line (nmcli).

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to vpn-auto-reconnect.sh

droidovpn
An unofficial VPN Gate client for Android.
Stars: ✭ 65 (+242.11%)
Mutual labels:  openvpn
desktop-app
Official IVPN Desktop app
Stars: ✭ 141 (+642.11%)
Mutual labels:  openvpn
killswitch-windows
VPN kill switch for windows.
Stars: ✭ 22 (+15.79%)
Mutual labels:  openvpn
fix-linux-mouse
Hints how to fix USB mouse issues on Linux
Stars: ✭ 36 (+89.47%)
Mutual labels:  reconnect
pritunl-http-api
Pritunl OpenVPN HTTP API
Stars: ✭ 26 (+36.84%)
Mutual labels:  openvpn
desktop-app-ui2
IVPN Desktop app
Stars: ✭ 19 (+0%)
Mutual labels:  openvpn
ancistrus
Netgear's D7000 Nighthawk Router Experience Distributed Project
Stars: ✭ 61 (+221.05%)
Mutual labels:  openvpn
go-amqp-reconnect
auto reconnecting example for github.com/streadway/amqp Connection & Channel
Stars: ✭ 79 (+315.79%)
Mutual labels:  reconnect
books-and-articles
Books written from me to my own language
Stars: ✭ 15 (-21.05%)
Mutual labels:  openvpn
netmaker
Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Stars: ✭ 4,147 (+21726.32%)
Mutual labels:  openvpn
iit-kgp-network
Information repository and Solutions on IIT KGP Internet Problems.
Stars: ✭ 28 (+47.37%)
Mutual labels:  openvpn
ConsolePi
Raspberry Pi Based Serial Console Server, with PushBullet Notification of IP changes, Automatic VPN termination, custom menu, Power Outlet Control, and a lot more
Stars: ✭ 109 (+473.68%)
Mutual labels:  openvpn
k8s-ovpn
OpenVPN on a Kubernetes cluster. Roll your own secure VPN cluster!
Stars: ✭ 72 (+278.95%)
Mutual labels:  openvpn
arch-privoxyvpn
Docker build script for Arch Linux base with Privoxy and OpenVPN
Stars: ✭ 55 (+189.47%)
Mutual labels:  openvpn
openvpn-unroot
Run OpenVPN without root privileges
Stars: ✭ 27 (+42.11%)
Mutual labels:  openvpn
desktop-app-cli
Official IVPN command-line interface (CLI)
Stars: ✭ 18 (-5.26%)
Mutual labels:  openvpn
Raspberry-Pi-VPN-Gateway
Raspberry Pi VPN gateway installer for Private Internet Access
Stars: ✭ 44 (+131.58%)
Mutual labels:  openvpn
Gear-VPN
A VPN client for Android based on OpenVPN made with Jetpack Compose.
Stars: ✭ 55 (+189.47%)
Mutual labels:  openvpn
openvpn-portable
🚀 OpenVPN portable for Windows
Stars: ✭ 59 (+210.53%)
Mutual labels:  openvpn
docker-openvpn-client-socks
Expose an OpenVPN tunnel as a SOCKS proxy
Stars: ✭ 89 (+368.42%)
Mutual labels:  openvpn

vpn-auto-reconnect.sh

A simple bash script for autoreconnect to OpenVPN via NetworkManager command-line (nmcli).

Usage:

  1. Make the script executable "chmod +x /path/to/the/vpn-auto-reconnect.sh"

  2. Copy "vpn-config-sample.sh" to "vpn-config.sh". Simply run "cp vpn-config-sample.sh vpn-config.sh".

  3. Configure "vpn-config.sh". All the needed info on how to do that, is shown in the config comments.

  4. vpn-auto-reconnect.sh start -- starts and monitors VPN connection

  5. vpn-auto-reconnect.sh stop -- stops the monitor and also the VPN connection

Source:

nmcli: https://wiki.gnome.org/Projects/NetworkManager/nmcli

Source: http://www.gabsoftware.com/tips/automatically-reconnect-to-your-vpn-on-linux/

Fork from: https://gist.github.com/antoniy/f925ae55410a092c9e75/ with changes for nmcli v0.9.10.

Script tested on fedora 21 with airvpn (OpenVPN).

vpn-toggle.sh

A simple bash script to toggle an OpenVPN connection on and off via NetworkManager command-line (mncli).

Usage:

  1. Make the script executable "chmod +x /path/to/the/vpn-toggle.sh"

  2. Copy "vpn-config-sample.sh" to "vpn-config.sh". Simply run "cp vpn-config-sample.sh vpn-config.sh".

  3. Configure "vpn-config.sh". All the needed info on how to do that, is shown in the config comments.

  4. vpn-toggle.sh -- starts or stops your first set VPN connection

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].