📄 west.conf
字号:
# /etc/ipsec.conf - FreeS/WAN IPsec configuration fileversion 2.0config setup # put the logs in /tmp for the UMLs, so that we can operate # without syslogd, which seems to break on UMLs plutostderrlog=/tmp/pluto.log plutorestartoncrash=false dumpdir=/var/tmpconn westnet-eastnet-x509-cr rightca="C=CA, ST=Ontario, O=Openswan, CN=ca.openswan.org, E=ca@openswan.org" leftsendcert=forced leftcerttype=0x04 leftcert=/testing/pluto/x509-pluto-08/westcert.der leftsubnet=192.0.1.0/24 rightsubnet=192.0.2.0/24 # Left security gateway, subnet behind it, next hop toward right. left=192.1.2.45 leftrsasigkey=%cert leftnexthop=192.1.2.23 leftid="C=CA, ST=Ontario, O=Openswan, L=Toronto, CN=west.uml.freeswan.org, E=west@openswan.org" # Right security gateway, subnet behind it, next hop toward left. right=192.1.2.23 rightid="C=CA, ST=Ontario, O=Openswan, L=Toronto, CN=east.uml.openswan.org, E=east@openswan.org" rightrsasigkey=%cert rightcert=east.uml.freeswan.org.cert rightnexthop=192.1.2.45include /etc/ipsec.d/ipsec.conf.common
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -