gwd-init.sh

来自「openswan」· Shell 代码 · 共 28 行

SH
28
字号
#!/bin/sh: ==== start ====# move gateway to the virtual 4 network so that we can get OE to work.route delete defaultifconfig eth1 inet 192.1.4.45 netmask 255.255.255.0 broadcast 192.1.4.255route add -net default gw 192.1.4.254nameddig 2.2.0.192.in-addr.arpa. txt# nuke special route that may be there.route delete -net 192.0.2.0 netmask 255.255.255.0 gw 192.1.2.23ipsec setup startipsec auto --add us-private-or-clear-allipsec auto --add let-my-dns-goipsec auto --add us-let-my-dns-goipsec whack --listenipsec auto --route us-private-or-clear-allipsec auto --route let-my-dns-goipsec auto --route us-let-my-dns-goipsec eroute

⌨️ 快捷键说明

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