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

📄 ipsec.conf

📁 FREESWAN VPN源代码包
💻 CONF
字号:
# /etc/ipsec.conf - FreeS/WAN IPsec configuration file# More elaborate and more varied sample configurations can be found# in FreeS/WAN's doc/examples file, and in the HTML documentation.# basic configurationconfig setup	# THIS SETTING MUST BE CORRECT or almost nothing will work;	# %defaultroute is okay for most simple cases.	interfaces=%defaultroute	# Debug-logging controls:  "none" for (almost) none, "all" for lots.	klipsdebug=none	plutodebug=none	# Use auto= parameters in conn descriptions to control startup actions.	plutoload=%search	plutostart=%search	# Close down old connection when new one using same ID shows up.	uniqueids=yes# defaults for subsequent connection descriptionsconn %default	# How persistent to be in (re)keying negotiations (0 means very).	keyingtries=0	# RSA authentication with keys from DNS.	authby=rsasig	leftrsasigkey=%dns	rightrsasigkey=%dns# connection description for (experimental!) opportunistic encryption# (requires KEY record in your DNS reverse map; see doc/opportunism.howto)conn me-to-anyone	left=%defaultroute	right=%opportunistic	# uncomment to enable incoming; change to auto=route for outgoing	#auto=add# sample VPN connectionconn west-east	also=west-east-base	#auto=startconn west-eastnet	also=west-east-base	rightsubnet=192.0.2.254/24	#auto=startconn westnet-east	also=west-east-base	leftsubnet=192.0.1.254/24	#auto=startconn westnet-eastnet	also=west-east-base	rightsubnet=192.0.2.254/24	leftsubnet=192.0.1.254/24	#auto=startconn west-east-base	# Left security gateway, subnet behind it, next hop toward right.	left=192.1.2.45	leftid=@west	leftrsasigkey=0sAQNzGEFs18VKT00sA+4p+GUKn9C55PYuPQca6C+9Qhj0jfMdQnTRTDLeI+lp9TnidHH7fVpq+PkfiF2LHlZtDwMurLlwzbNOghlEYKfQ080WlOTTUAmOLhAzH28MF70q3hzq0m5fCaVZWtxcV+LfHWdxceCkjBUSaTFtR2W12urFCBz+SB3+OM33aeIbfHxmck2yzhJ8xyMods5kF3ek/RZlFvgN8VqBdcFVrZwTh0mXDCGN12HNFixL6FzQ1jQKerKBbjb0m/IPqugvpVPWVIUajUpLMEmi1FAXc1mFZE9x1SFuSr0NzYIu2ZaHfvsAZY5oN+I+R2oC67fUCjgxY+t7	leftnexthop=192.1.2.23	# Right security gateway, subnet behind it, next hop toward left.	right=192.1.2.23	rightid=@east	rightrsasigkey=0sAQN3cn11FrBVbZhWGwRnFDAf8O9FHBmBIyIvmvt0kfkI2UGDDq8k+vYgRkwBZDviLd1p3SkL30LzuV0rqG3vBriqaAUUGoCQ0UMgsuX+k01bROLsqGB1QNXYvYiPLsnoDhKd2Gx9MUMHEjwwEZeyskMT5k91jvoAZvdEkg+9h7urbJ+kRQ4e+IHkMUrreDGwGVptV/hYQVCD54RZep6xp5ymaKRCDgMpzWvlzO80fP7JDjSZf9LI/MMu6c+qwXIKnWoNha75IhFyLWniVczxK2RdhmMhLsi0kC0CoOwWDSIEOb+5zbECDjjud+SF5tT8qRCWnSomX8jtbCdZ50WraQlL	rightnexthop=192.1.2.45	# To authorize this connection, but not actually start it, at startup,	# uncomment this.

⌨️ 快捷键说明

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