2) 路由表中应有通过 GW1 访问 LAN1 网段的路由记录
[root@gw2 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun0
173.74.75.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.9.0.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
|
3. 测试 SSL VPN 隧道连接
[root@gw1 ~]# ping 10.8.0.2 -c 2
PING 10.8.0.2 (10.8.0.2) 56(84) bytes of data.
64 bytes from 10.8.0.2: icmp_seq=1 ttl=64 time=17.5 ms
64 bytes from 10.8.0.2: icmp_seq=2 ttl=64 time=0.613 ms
--- 10.8.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1188ms
rtt min/avg/max/mdev = 0.613/9.101/17.590/8.489 ms
|
图 测试 LAN1、LAN2 中主机之间的互联
附:详细的PDF完整技术文档下载:http://down.51cto.com/data/102973 本文出自 “贾芸斐” 博客,请务必保留此出处http://jiayf.blog.51cto.com/1659430/349896
|