Add this PPA
add-apt-repository ppa:odyx/openconnect-helpers
Install packages
aptitude install openconnect openconnect-helpersGrab a better network route and DNS setup script, for some reason the one provided with vpnc didn't work for me.
cd /etc/openconnect-helpers; sudo wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script; sudo chmod u+x vpnc-scriptEdit the config file /etc/openconnect-helpers/default.conf. I just set the first params to:
The help package provides two convenience scripts vpn-connect and vpn-disconnect. If they don't work try your connection directly with openconnect --script /etc/openconnect-helpers/vpnc-script vpn.yourserver.comVPN_SERVER="vpn.mywork.com"SCRIPT_PROGRAM="/etc/openconnect-helpers/vpnc-script"
No comments:
Post a Comment