From aaccabd55a81a3fe602a514e687c7cbeac8755e7 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 11 May 2016 02:30:40 -0500 Subject: [PATCH] Add notes on multiple VPN users --- README-zh.md | 2 +- README.md | 2 +- docs/enable-multiple-users.txt | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 docs/enable-multiple-users.txt diff --git a/README-zh.md b/README-zh.md index 9e15a91..68c56af 100644 --- a/README-zh.md +++ b/README-zh.md @@ -75,7 +75,7 @@ sudo sh vpnsetup_centos.sh **iPhone/iPad 用户**: 在 iOS 的设置菜单请选择 `L2TP` (而不是 `IPSec`) 作为 VPN 类型。 -如果要创建具有不同凭据的多个 VPN 用户,只需要修改这几行的脚本。 +如果要创建具有不同凭据的多个 VPN 用户,只需要修改这几行的脚本。 在 VPN 已连接时,客户端配置为使用 Google Public DNS。此设置可在 `options.xl2tpd` 文件的 `ms-dns` 项更改。 diff --git a/README.md b/README.md index 3108ff5..e3ae50e 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ For **Windows users**, a edit a few lines in the scripts. +To enable multiple VPN users with different credentials, just edit a few lines in the scripts. Clients are configured to use Google Public DNS when the VPN is active. To change, set `ms-dns` in `options.xl2tpd`. diff --git a/docs/enable-multiple-users.txt b/docs/enable-multiple-users.txt new file mode 100644 index 0000000..b18d948 --- /dev/null +++ b/docs/enable-multiple-users.txt @@ -0,0 +1,21 @@ +To enable multiple VPN users with different credentials, find and replace these lines in the script: + +cat > /etc/ppp/chap-secrets < /etc/ppp/chap-secrets <