initvpn is a vpngate client to connect vpngate clients by passing a country code argument.
THIS PROJECT IS UNMAINTAINED.
I wrote this a long time ago and I do not use or maintain this script any more.
Using this will very likely cause permanent nuclear winter everywhere, so just
look for something better, alright? I'll likely delete the project soon so that
I don't distribute potentially insecure tools.
initvpn
is a tool to automatically connect you to a random VPN in a country
of your choice. It uses [openvpn][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/Qurram555/initvpn
$ cd ~/initvpn/src
Then run this to generate the executable:
$ go build initvpn.go
It's Golang. What do you expect?
This requires [openvpn].
If you're on a apt
-based distro:
$ sudo apt-get install openvpn
Simply run:
$ ./initvpn
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 South Korea:
$ ./initvpn KR
You may need superuser privileges when you arent using linux/deb. Don't worry, I'm not running rm -rf --no-preserve-root /
underneath. It's for openvpn
.
$ sudo cp ~/initvpn/bin /usr/local/bin
$ sudo initvpn KR
All patches welcome!
This is completely insecure. Please do not use this for anything important. Get a real and secure VPN. This is mostly a fun tool to get a VPN for a few minutes. To make it secure add your own certificates at the end of file.
Since it is a fun tool. So no license.