A small tool to randomly select an openvpn configuration.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Emily Frost 9be0a4cf6e
Added CNPL license for public release.
3 years ago
LICENSE Added CNPL license for public release. 3 years ago
README.md Fixed root check and targeted POSIX shell instead of Bash. 7 years ago
openvpn-rotate Fixed root check and targeted POSIX shell instead of Bash. 7 years ago
openvpn.service Systemd now restarts openvpn when openvpn stops restarting itself. 7 years ago

README.md

OpenVPN-rotate

This is a little shell script that makes randomizing VPN connections easier. If you use a VPN service with multiple hosts in many areas as a proxy, rotating makes it a little more anonymous.

Installation

Prerequisites

  • OpenVPN
  • Several .ovpn file configurations

Setup process

  1. Create the configurations directory /etc/openvpn/client/ovpn-enabled.
  2. Copy all .ovpn configuration files you wish to use to /etc/openvpn/client/ovpn-enabled.
  3. Copy openvpn-rotate to /usr/local/bin/.
  4. Copy openvpn.service to /etc/systemd/system/ if you do not already have an openvpn service.

Usage

Just run openvpn-rotate and it will link a random different configuration to the path that openvpn.service reads. It does not currently accept any arguments.