roadinit.sh
来自「ipsec vpn」· Shell 代码 · 共 30 行
SH
30 行
#!/bin/sh: this is an non-existant namehostname nonexist.uml.freeswan.org.ifconfig eth0 inet 192.1.3.209route delete -net default route add -net default gw 192.1.3.254netstat -rnenamedsleep 2(echo "txt 12334 nonexist.uml.freeswan.org."; echo quit) | ipsec lwdnsq -X(echo "key 12334 nonexist.uml.freeswan.org."; echo quit) | ipsec lwdnsq -X: script will also put 192.0.2.2 into private food groupTESTNAME=myid-road-05source /testing/pluto/bin/roadlocal.shipsec setup start/testing/pluto/oe-road-01/policy-wait.shipsec whack --status | grep 192.0.2.2echo done
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?