ubuntu Cisco IPSec 连接

自用环境

ubuntu21

安装vpnc

sudo apt-get install vpnc

连接配置

cd /etc/vpnc/
cp default.conf test.conf

配置说明

如果没在以下参数没使用,在连接的时候需要输入

#IPSec gateway <gateway>	# 服务器地址
#IPSec ID <group-id>   				# 群组名称
#IPSec secret <group-psk>	# 共享密钥
#Xauth username <username>	
#Xauth password <password>

开启vpnc

sudo vpnc test --enable-1des

关闭vpnc

sudo vpnc-disconnect
posted @ 2021-11-14 00:53  奔跑的兔  阅读(363)  评论(0编辑  收藏  举报