📄 roadinit.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -