Skip to content

Instantly share code, notes, and snippets.

@ibnesayeed
Created January 18, 2018 19:49
Show Gist options
  • Select an option

  • Save ibnesayeed/be7d4e1e3b0f96a7b84e54ed92e7dc8e to your computer and use it in GitHub Desktop.

Select an option

Save ibnesayeed/be7d4e1e3b0f96a7b84e54ed92e7dc8e to your computer and use it in GitHub Desktop.
Install and run ODU CS VPN on Newer Ubuntu-based OSes
#!/usr/bin/env bash
# Install build esentials
apt update
sudo apt install -y git build-essential gettext autoconf automake libproxy-dev libxml2-dev libtool vpnc-scripts pkg-config libgnutls28-dev
# Install special openconnect with GlobalProtect support
cd /tmp
git clone https://github.com/dlenski/openconnect.git
cd openconnect
git checkout globalprotect
./autogen.sh
./configure
make
sudo make install
ldconfig
rm -rf /tmp/openconnect
# Connect to the VPN
sudo openconnect --protocol=gp gp.cs.odu.edu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment