westinit.sh
来自「This a good VPN source」· Shell 代码 · 共 29 行
SH
29 行
namedroute delete -net 192.0.2.0 netmask 255.255.255.0route delete -net defaultroute add -net default gw 192.1.2.23# for debugging, we sometimes want to force this ARP entry.# arp -s 192.1.2.23 10:00:00:64:64:23ipsec setup start/testing/pluto/bin/wait-until-pluto-started# passive OE only.ipsec auto --add us-to-anyone: let my people go - let all packets not otherwise dealt with out in the: clear, despite stoopid routing tricks.ipsec auto --delete packetdefaultipsec manual --up let-my-people-go#ipsec look# look for matching kill in *final.sh#(echo $$ >/tmp/eth1.pid && tcpdump -i eth1 -l -n -p -s 1600 > /tmp/eth1.txt) &#(echo $$ >/tmp/ipsec0.pid && tcpdump -i ipsec0 -l -n -p -s 1600 > /tmp/ipsec0.txt) &
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?