⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 road-console.txt

📁 ipsec vpn
💻 TXT
字号:
road:~# hostname road.uml.freeswan.orgroad:~# ifconfig eth0 inet 192.1.3.209road:~# route delete -net default road:~# route add -net default gw 192.1.3.254road:~# netstat -rneKernel IP routing tableDestination     Gateway         Genmask         Flags Metric Ref    Use Iface192.1.3.0       0.0.0.0         255.255.255.0   U     0      0        0 eth00.0.0.0         192.1.3.254     0.0.0.0         UG    0      0        0 eth0road:~# namedroad:~# sleep 2road:~# /testing/pluto/bin/look-for-txt road.uml.freeswan.org AQNxbOBmDLOOK-FOR-TXT FOUND AQNxbOBmDroad:~# TESTNAME=myid-road-01road:~# source /testing/pluto/bin/roadlocal.shroad:~# ipsec setup startipsec_setup: Starting Openswan IPsec VERSIONroad:~# /testing/pluto/oe-road-01/policy-wait.shroad:~# echo donedoneroad:~# : turn on debuggingroad:~# ipsec whack --debug-control --debug-oppo --debug-dnsroad:~# : check out configroad:~# ipsec eroute0          0.0.0.0/0          -> 0.0.0.0/0          => %trap0          192.1.3.209/32     -> 0.0.0.0/0          => %trap0          192.1.3.209/32     -> 192.0.2.2/32       => %trap0          192.1.3.209/32     -> 192.1.2.129/32     => %pass0          192.1.3.209/32     -> 192.1.2.130/32     => %pass0          192.1.3.209/32     -> 192.1.2.254/32     => %passroad:~# ping -c 4 -n 192.0.2.2PING 192.0.2.2 (192.0.2.2): 56 data bytes64 bytes from 192.0.2.2: icmp_seq=0 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=1 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=2 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=3 ttl=257 time=999 ms--- 192.0.2.2 ping statistics ---4 packets transmitted, 4 packets received, 0% packet lossround-trip min/avg/max = 3.1/4.5/9.26 msroad:~# : transfer some dataroad:~# nc -w 5 192.0.2.2 2 | wc -l    831road:~# ipsec eroute | grep -l tun(standard input)road:~# road:~# : check out the myid that I concluded withroad:~# ipsec auto --status | grep '%myid ='000 %myid = @road.uml.freeswan.orgroad:~#road:~#

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -