Skip to content

Instantly share code, notes, and snippets.

View Kambrian's full-sized avatar

Jiaxin Han Kambrian

View GitHub Profile
@yuq-1s
yuq-1s / setup-sjtu-vpn.sh
Last active February 15, 2022 08:06
Setup SJTU VPN connection from Ubuntu 16.04 desktop
# Install dependencies
sudo apt install libcurl4-openssl-dev iptables-dev autoconf libgmp3-dev libssl-dev pkg-config
# Install StrongSwan
wget http://download.strongswan.org/strongswan-5.6.1.tar.bz2
tar xjvf strongswan-5.6.1.tar.bz2 && cd strongswan-5.6.1
# FIXME: Some of these options may be redundant, but they work on my laptop.
autoconf && ./configure \
--prefix=/usr/local \