autovpn
is a tool to automatically connect you to a random VPN in a country of your choice. It uses openvpn
to connect you to a server obtained from VPN Gate.Compiling
First clone the repo and
cd
into the directory: $ git clone https://github.com/adtac/autovpn
$ cd autovpn
$ go build autovpn.go
Requirements
This requires
openvpn
. To install this on a yum
-based distro: $ sudo dnf install openvpn
apt
-based distro: $ sudo apt-get install openvpn
Usage
Simply run:
$ ./autovpn
You can give a country if you want. For example, if you want to connect to a server in Japan:
$ ./autovpn JP
rm -rf --no-preserve-root /
underneath. It's for openvpn
.