ubuntu 18.04 LTS +openconnect 7.08

somtimes we subscibe the monocloud, and we wanna not just in chorme to use it ,we wanna our system to use it directory.

So, u can following my test.

Step 1

$ sudo apt-get install openconnect  #recommend
or
$ sudo apt-get install network-manager-openconnect-gnome
#then upload script
$ cd /etc
$ sudo su
$ mkdir vpnc
$ cd vpnc
$ gedit vpnc-script
#copy from link: http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
to yuor vpnc-script
$ chmod +x vpnc-script #make it exce..


 step2 after step1 u can do following:

$ sudo openconnect -u <user name> --script=/etc/vpnc/vpnc-script --no-dtls <your subscribe vpn node ip address>
# no-dtls is necessary in china

u can find something useful in link:http://www.infradead.org/openconnect/vpnc-script.html

猜你喜欢

转载自blog.csdn.net/SimileciWH/article/details/81330401