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.
Andrew Klapp 8d579fed16
openvpn-rotate now always selects a different configuration file.
7 years ago
README.md Added README. 7 years ago
openvpn-rotate openvpn-rotate now always selects a different configuration file. 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 configuration to the path that openvpn.service reads. It does not currently accept any arguments.