l2tp-psk.conf.in

来自「ipsec vpn」· IN 代码 · 共 37 行

IN
37
字号
conn L2TP-PSK-NAT        rightsubnet=vhost:%priv	also=L2TP-PSK-noNATconn L2TP-PSK-noNAT	#	# Configuration for one user with any type of IPsec/L2TP client	# including the updated Windows 2000/XP (MS KB Q818043), but	# excluding the non-updated Windows 2000/XP.	#	#	# Use a Preshared Key. Disable Perfect Forward Secrecy.	#	# PreSharedSecret needs to be specified in /etc/ipsec.secrets as	# YourIPAddress  %any: "sharedsecret"	authby=secret	pfs=no	auto=add	keyingtries=3	# we cannot rekey for %any, let client rekey	rekey=no	type=transport	#        left=%defaultroute        # or you can use: left=YourIPAddress	#	# For updated Windows 2000/XP clients,	# to support old clients as well, use leftprotoport=17/%any	leftprotoport=17/1701	#	# The remote user.	#	right=%any	rightprotoport=17/1701

⌨️ 快捷键说明

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