Skip to main content


Showing posts from July, 2018

Ubuntu how to setup a vpn connection, tsocks, corporate wifi with openconnect and openvpn or socks

These are just notes.
Cisco vpn setup with CSD support [corporate setup]
# install
sudo apt-get install openconnect network-manager-openconnect-gnome gconf2 lib32z1 lib32ncurses5 libpangox-1.0-0

#restart network-manager or reboot the laptop

Create ~/.cisco folder

mkdir ~/.cisco 

Download the csd-wrapper-sh from github

copy the to that folder

Edit the file and set the CSD_HOSTNAME

Run the script to download the resources, one time, and make sure the resources are downloaded.

bash ~/.cisco/

On gnome shell, settings->network add a vpn connection

Command line with CSD support:# open a connection with csd support, use --background to run as daemon
sudo openconnect --user=lafa --csd-user=lafa --csd-wrapper=/home/lafa/.cisco/ --background --pid-file=${HOME}/
Without CSD support# select dynamic upd…