Vitual Private Network is most Important Future for Surfing  Anonymous to Blocked Contents Around the Globe.

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.


First clone the repo and cd into the directory:

$ git clone https://github.com/adtac/autovpn
$ cd autovpn

Then run this to generate the executable:

$ go build autovpn.go

It’s Go. What do you expect?

Also Read : Top 5 Best FreeVPN for Android to Surf Anonymous – 2017

 VPN Requirements

This requires openvpn. To install this on a yum-based distro:

$ sudo dnf install openvpn

If you’re on a apt-based distro:

$ sudo apt-get install openvpn

Tested and works on Fedora 23. Dunno about Windows. Patches welcome.


Simply run:

$ ./autovpn

and you’re done. You’ll be connected to a server in the US. Welcome to the US!

You can give a country if you want. For example, if you want to connect to a server in INDIA:

$ ./autovpn IN

You may need superuser privileges. Don’t worry, I’m not running rm -rf --no-preserve-root / underneath. It’s for openvpn

Leave a Reply