From 0464c16ebfea13c4379eb96ba571ec16e583a192 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 21 May 2016 19:54:11 -0500 Subject: [PATCH] Update README.md --- README-zh.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-zh.md b/README-zh.md index 1a842ce..35d07e2 100644 --- a/README-zh.md +++ b/README-zh.md @@ -109,7 +109,7 @@ sudo sh vpnsetup_centos.sh **Android 6 (Marshmallow) 用户** 请参考此文档中的注释: 配置 IPsec/L2TP VPN 客户端。 -在 VPN 已连接时,客户端配置为使用 Google Public DNS。此设置可通过编辑文件 `options.xl2tpd` 和 `ipsec.conf` 来更改。 +在 VPN 已连接时,客户端配置为使用 Google Public DNS。如果要使用另外的 DNS 服务商,可以编辑文件 `options.xl2tpd` 和 `ipsec.conf` 并用新的服务器替换 `8.8.8.8` 和 `8.8.4.4`。然后重启 `ipsec` 和 `xl2tpd` 服务。 如果服务器配置了自定义 SSH 端口(不是 22)或其他服务,请在运行脚本前编辑 IPTables 防火墙规则。 diff --git a/README.md b/README.md index e56588a..675a8d2 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ For **Windows users**, a one-ti **Android 6 (Marshmallow) users**: Please see notes in Configure IPsec/L2TP VPN Clients. -Clients are set to use Google Public DNS when the VPN is active. To change, edit `options.xl2tpd` and `ipsec.conf`. +Clients are set to use Google Public DNS when the VPN is active. If another DNS provider is preferred, replace `8.8.8.8` and `8.8.4.4` in both `options.xl2tpd` and `ipsec.conf` with your new servers. Then restart `ipsec` and `xl2tpd` services. For servers with a custom SSH port (not 22) or other services, edit the IPTables rules before using.