mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
Enable MS-CHAP v2
- Allow MS-CHAP v2 for better compatibility with the built-in Windows 10 VPN client. Thanks @remini1998!
This commit is contained in:
@@ -299,6 +299,7 @@ EOF
|
||||
# Set xl2tpd options
|
||||
conf_bk "/etc/ppp/options.xl2tpd"
|
||||
cat > /etc/ppp/options.xl2tpd <<EOF
|
||||
+mschap-v2
|
||||
ipcp-accept-local
|
||||
ipcp-accept-remote
|
||||
ms-dns $DNS_SRV1
|
||||
|
||||
@@ -287,6 +287,7 @@ EOF
|
||||
# Set xl2tpd options
|
||||
conf_bk "/etc/ppp/options.xl2tpd"
|
||||
cat > /etc/ppp/options.xl2tpd <<EOF
|
||||
+mschap-v2
|
||||
ipcp-accept-local
|
||||
ipcp-accept-remote
|
||||
ms-dns $DNS_SRV1
|
||||
|
||||
Reference in New Issue
Block a user