westinit.sh

来自「This a good VPN source」· Shell 代码 · 共 32 行

SH
32 行
字号
# reset network configuration so that west thinks it is on a different# subnet than east. Put it on a /27 (32-hosts)# we don't screw with east, although we ought to.ifdown eth1ifconfig eth1 inet 192.1.2.45 netmask 255.255.255.224 up# use the default route at the top of the netmask.route add -net default gw 192.1.2.62: try default routeping -c 1 -n 192.1.2.62: try hitting east before doing IPsecping -c 1 -n 192.1.2.23ipsec setup start: check out if .23 has proper TXT record.dig 23.2.1.192.in-addr.arpa. txt/testing/pluto/bin/wait-until-pluto-startedipsec auto --add us-to-anyoneipsec auto --route us-to-anyoneipsec lookipsec auto --statusecho end

⌨️ 快捷键说明

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