Archive for October, 2017
IPsec VPN Server Auto Setup Scripts
First, prepare your Linux server* with a fresh install of Ubuntu LTS, Debian or CentOS.
Use this one-liner to set up an IPsec VPN server:
wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh
If using CentOS, replace the link above with https://git.io/vpnsetup-centos.
Your VPN login details will be randomly generated, and displayed on the screen when finished.
For other installation options and how to set up VPN clients, read the sections below.
* A dedicated server or virtual private server (VPS). OpenVZ VPS is not supported.
Installing and running shadowsocks on Ubuntu Server
Shadowsocks-libev is a lightweight secured SOCKS5 proxy for embedded devices and low-end boxes.
It is a port of Shadowsocks created by @clowwindy, and maintained by @madeye and @linusyang.
==========================================================
Install the the shadowsocks-libev package from apt repository.
sudo apt update
sudo apt install shadowsocks-libev
Save ss.json as /etc/shadowsocks-libev/config.json.
Replace server_port and password in ss.json with your own choices.
Restart the shadowsocks-libev service.
sudo systemctl restart shadowsocks-libev
sudo systemctl status shadowsocks-libev