分页:
上一页 1 2 3 4 5 6 7 [8] 9 下一页
3.10设置ipsec工具:
编辑总经理机器上的ipsec.conf文件,把rightca的=后面写成刚才openssl x509 -in demoCA/cacert.pem -noout –subject命令生成的结果。类似下面这样:
conn roadwarrior
left=%any
right=远端的ip
rightca="C=GB,S=State,L=City,O=21vianet, CN=CA,Email=chenqs@clo.com.cn"
network=auto
auto=start
pfs=yes
conn roadwarrior-net
left=%any
right=远端的ip
rightsubnet=192.168.1.0/24
rightca="C=GB,S=State,L=City,O=21vianet, CN=CA,Email=chenqs@clo.com.cn"
network=auto
auto=start
pfs=yes
黑体部分要注意配置正确。
3.12运行ipsec.exe有下面输出:
C:ipsec>ipsec
IPSec Version 2.1.4 ?? 2001,2002 Marcus Mueller
Getting running Config ...
Microsoft's Windows XP identified
Host name is: (local_hostname)
No RAS connections found.
LAN IP address: (local_ip_address)
Setting up IPSec ...
Deactivating old policy...
Removing old policy...
Connection roadwarrior:
MyTunnel : (local_ip_address)
MyNet : (local_ip_address)/255.255.255.255
PartnerTunnel: (ip_of_remote_system)
PartnerNet : (ip_of_remote_system)/255.255.255.255
CA (ID) : C=US,S=State,L=City,O=ExampleCo,...
PFS : y
Auto : start
Auth.Mode : MD5
Rekeying : 3600S/50000K
Activating policy...
Connection roadwarrior-net:
MyTunnel : (local_ip_address)
MyNet : (local_ip_address)/255.255.255.255
分页:
上一页 1 2 3 4 5 6 7 [8] 9 下一页