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

📄 westinit.sh

📁 openswan
💻 SH
字号:
: ==== start ====# 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.namedifdown 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/testing/pluto/bin/wait-until-policy-loadedipsec auto --add us-to-anyoneipsec auto --route us-to-anyoneipsec auto --replace clearipsec whack --listenipsec auto --route clear: check out if .23 has proper TXT record.dig 23.2.1.192.in-addr.arpa. txtipsec lookecho end

⌨️ 快捷键说明

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