VPNGate is an online service as an academic research at Graduate School of University of Tsukuba, Japan.As Academic Experiment Project ,The purpose of this research is to expand the knowledge of “Global Distributed Public VPN Relay Servers”.
The project offers free VPN servers that are ran by volunteers who use SoftEther1. It was designed with the Great Firewall of China in Mind and is sponsored by the University of Tsukuba,
Japan.
It‘s important to note that free VPNs are insecure, and they shouldn’t be used for sensitive or high important stuff!
VPNGate and softether are open source and work on windows, linux, macos ,and android.
Install Indicator: is optional.
sudo apt-get install gir1.2-appindicator3-0.1 gir1.2-notify-0.7 python-gobject
Dependency:
- openvpn:
$ sudo apt-get install openvpn
- python-requests:
$ sudo apt-get install python-requests
- python-urwid 1.3+:
$ sudo apt-get install python-urwid
, fortui
version (terminal user interface) - wmctrl:
$ sudo apt-get install wmctrl
, forIndicator
oftui
version, use for focusing window from indicator.
0. Pre-installation
- If your network is behind a proxy
$ export http_proxy="http://your_proxy:your_port"
$ export https_proxy="http://your_proxy:your_port"
- If you has just installed your os, please update your os for it to fetch packages list and know where to download other packages later.
$ sudo apt-get update && sudo apt-get upgrade
1. Installation:
Using git:
$ sudo apt-get install git
$ git clone https://github.com/Dragon2fly/vpngate-with-proxy.git
If your network is behind a proxy:
$ sudo -E apt-get install git
$ git clone https://github.com/Dragon2fly/vpngate-with-proxy.git
You can also download the zip file It contains the “vpngate-with-proxy” folder. Extract it into anywhere you want eg: $HOME
.
user_script:
Within this folder, there should be a file user_script.sh
. This file allow you to run extra commands to fit your need. You have to manually edit this file and don’t change the file name. Commands are divided into 2 groups:
- up: execute after vpn tunnel is established successfully.
- down: execute after vpn tunnel is broken/terminated.
2. First run:
If you have configured system wide proxy or proxy in firefox, it’d better to turn it off. After vpn tunnel is established, the programs that use system wide proxy may failed to connect to the internet using your proxy.
Launch vpngate-with-proxy by
$ cd vpngate-with-proxy
$ ./run [arg]
-
- arg could be either none or tui or cli.
- vpnproxy_tui.py has better UI, colorful and easier to use. Run when
arg
is none or tui - vpnproxy_cli.py is normal terminal application, lightweight and is aim to run on server (RaspberryPi ?). Run when
arg
is cli
Then the program will first setup a configuration file
config.ini
by asking you for proxy if needed to connect to the Internet. After that it will show the default configuration of the program. Change any parameter to suit you and press Enter to continue. Next time launching this program, you won’t see this configuration again. Either modifyconfig.ini
or check 5. Some notesIf no thing goes wrong, the vpn server’s list will show up.