mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
Update l2tp.sh
This commit is contained in:
parent
5e1dc0f6b3
commit
5c1fca46e2
@ -131,7 +131,7 @@ conn shared
|
|||||||
dpdtimeout=120
|
dpdtimeout=120
|
||||||
dpdaction=clear
|
dpdaction=clear
|
||||||
ikev2=never
|
ikev2=never
|
||||||
ike=aes256-sha2,aes128-sha2,aes256-sha1,aes128-sha1,aes256-sha2;modp1024,aes128-sha1;modp1024
|
ike=aes256-sha2,aes128-sha2,aes256-sha1,aes128-sha1,aes256-sha2
|
||||||
phase2alg=aes_gcm-null,aes128-sha1,aes256-sha1,aes256-sha2_512,aes128-sha2,aes256-sha2
|
phase2alg=aes_gcm-null,aes128-sha1,aes256-sha1,aes256-sha2_512,aes128-sha2,aes256-sha2
|
||||||
sha2-truncbug=${SHA2_TRUNCBUG}
|
sha2-truncbug=${SHA2_TRUNCBUG}
|
||||||
|
|
||||||
@ -269,4 +269,4 @@ modprobe af_key
|
|||||||
mkdir -p /run/pluto /var/run/pluto /var/run/xl2tpd
|
mkdir -p /run/pluto /var/run/pluto /var/run/xl2tpd
|
||||||
rm -f /run/pluto/pluto.pid /var/run/pluto/pluto.pid /var/run/xl2tpd.pid
|
rm -f /run/pluto/pluto.pid /var/run/pluto/pluto.pid /var/run/xl2tpd.pid
|
||||||
/usr/sbin/ipsec start
|
/usr/sbin/ipsec start
|
||||||
exec /usr/sbin/xl2tpd -D -c /etc/xl2tpd/xl2tpd.conf
|
exec /usr/sbin/xl2tpd -D -c /etc/xl2tpd/xl2tpd.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user