Configuration in ciscoanyconnect and ubuntu
Configuration in cisco anyconnect and ubuntu
For windows, mac, android, and ios, you can download anyconnect software from the cisco website. visual software is available.
In linux, vpnc can be used to connect to the cisco vpn.
sudo apt-cache search vpnc
You can see that several related packages are returned. Vpnc is what we need. So
sudo apt-get install vpnc
This is core without GUI.
sudo vpnc
Start, will guide you to enter your vpn parameters. The vpn parameters of my school are as follows:
IPSec: vpn-ct.shanghai.nyu.edu (several addresses provided by NYU either)
IPSecId: nyu-vpn
IPSec secret: nyu-net
Usrname: (nyu net id)
Password :( net id password)
Then you will be prompted that the connection is successful. The next time I connect again, I have to enter it again. This is very troublesome. What should I do? Check man to tell you that there is no one's configuration file default. conf that can be used. The file is located in/etc/vpnc.
Edit the file and save it. Enter the following content next time:
sudo vpnc//orsudo vpnc xxx.conf
You can connect to the vpn.
In addition, a GUI integrated into ubuntu can be used.
sudo apt-get install network-manager-vpnc
Then, select the network icon of action bar and select the option of vpn connections.
Configure> add> cisco compatible vpn (vpnc)
The hop-out guide interface is the network-manager-vpnc we just installed. The parameter settings are the same as those in terminal.