Categories: Kali Linux

Autovpn – Connect to a VPN in a Country of your Choice

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 Autovpn

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

Also Read BurpBounty – Active and Passive Scan Check Builder

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.

Usage

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 Japan:

$ ./autovpn JP

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

License

autovpn – simple automatic VPN in a country of your choice Copyright (C) 2017 Adhityaa Chandrasekar This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program.

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

2 days ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago