我使用 vpnc(安装在 linux red-hat 6.X 上的 cisco VPN)
并且 vpnc.conf 文件如下所示
more /etc/vpnc.conf
## generated by pcf2vpnc
IPSec ID Comvwde
IPSec gateway 217.118.6.7
IPSec secret eJ9^DyiE
IKE Authmode psk
## To add your DUMMY and password,
## use the following lines:
Xauth username
Xauth password
根据这个VPN配置文件无需登录或密码
但是当我运行 vpnc 时(每次运行 vpnc 时,它只在第二次工作)
请告知为什么会发生这种情况?
例子
vpnc
vpnc: no response from target
第二次
vpnc
VPNC started in background (pid: 27897)...
vpnc-disconnect
Terminating vpnc daemon (pid: 27897)
然后再次
vpnc
vpnc: no response from target
vpnc
VPNC started in background (pid: 27897)...
我的Linux机器上的网络配置:
ifconfig -a|grep inet
inet addr:128.102.183.102 Bcast:128.102.183.127 Mask:255.255.255.128
inet6 addr: fe80::250:56ff:feba:80b/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
inet addr:10.150.27.18 P-t-P:10.150.27.18 Mask:255.255.255.255
inet addr:10.70.70.176 P-t-P:10.70.70.176 Mask:255.255.255.255
inet addr:10.150.27.33 P-t-P:10.150.27.33 Mask:255.255.255.255
inet addr:10.150.27.34 P-t-P:10.150.27.34 Mask:255.255.255.255
inet addr:10.150.27.50 P-t-P:10.150.27.50 Mask:255.255.255.255
inet addr:10.150.27.13 P-t-P:10.150.27.13 Mask:255.255.255.255