Access Cisco AnyConnect VPN from Linux Mint 18
6,376
This works:
# use your own vpn gateway
my_vpn_gateway=your.vpn.gateway.com
# connect
sudo openvpn --mktun --dev tun1
sudo ifconfig tun1 up
# this command will prompt for credentials
sudo openconnect $my_vpn_gateway --interface=tun1
# disconnect
sudo ifconfig tun1 down
sudo openvpn --rmtun --dev tun1
Source: http://tuxdiary.com/2014/09/04/cisco-anyconnect-vpn-with-openvpn-openconnect/
Related videos on Youtube
Author by
Jamie Jackson
Updated on September 18, 2022Comments
-
Jamie Jackson over 1 year
From the Cisco AnyConnect client (Mac and Android), I connect to a given VPN using only:
- Server Address
- Username
- Password
How do I accomplish the same in Linux Mint 18.1 (based on Ubuntu 16.04 Xenial)?
I have the
network-manager-vpnc-gnome
package, which is what I assume I need; however it requires a "Group Name." -
Jamie Jackson over 6 yearsThanks, Abhik, but as I mentioned in the OP,
Group name
is required--the Save button is disabled if it is empty. -
Abhik Bose over 6 yearsOk. Try once with
username
asgroup name
, incase it works. -
Jamie Jackson over 6 yearsWhile this works, I'll hold off a bit on marking it as the answer in case a GUI solution turns up.