A bash script that gives you the choice to install Outline, Algo, or OpenVPN via this script. Or, you can install them all if you want.
THIS SCRIPT IS INTENDED FOR USE WITH A NON-ROOT SUDO USER ON AN SSH SESSION. USING MOSH IS NOT RECOMMENDED UNLESS YOU ARE USING A TERMINAL THAT SAVES THE FULL OUTPUT!
Run the following command to download it and execute it:
$ wget https://raw.githubusercontent.com/sweeper3000/initvpn/master/initvpn.sh && chmod +x initvpn.sh && ./initvpn.sh
Each of the VPNs here have their own advantages and disadvantages.
Outline is developed by Google's Jigsaw labs and is aimed at news organizations to give journalists a secure way to connect to the internet by using servers controlled by the news organizations.
- Uses Shadowsocks as its protocol
- Has clients for every OS
- Has a nice management console that runs only on desktop (for now) that allows you to add keys, remove keys and rename keys
- Windows client doesn't currently support whole-device tunneling
Algo is a set of scripts that deploy an IKEv2/IPSec VPN running on StrongSwan on a server. It's designed to be so simple to use, that its disposable, as in you can destroy the server and set another up with ease.
- Only uses secure protocols
- Uses DNS over HTTPS on Cloudflare's 1.1.1.1 DNS service
- Can deploy to an assortment of servers, but in this script, only use the
Deploy to Current Server
option - Setting up VPN connections on the client side uses only built in tools if possible
- Android client connections use Wireguard, a very fast, kernel-based protocol
OpenVPN is the most famous VPN of the three, and it's become the de-facto VPN of choice.
- Has software for every device
- Uses TLS for data transport, encryption and integrity
- Supports TCP or UDP
- Can be heavy on device battery compared to the other options