Update README.md
This commit is contained in:
parent
79986ee540
commit
90391edcce
10
README-zh.md
10
README-zh.md
@ -50,8 +50,8 @@ OpenVZ VPS 用户请使用其它的 VPN 软件,比如 <a href="https://github.
|
||||
```bash
|
||||
wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh -O vpnsetup.sh
|
||||
nano -w vpnsetup.sh
|
||||
[编辑并替换这些参数为你自己的值: IPSEC_PSK, VPN_USER 和 VPN_PASSWORD]
|
||||
sudo sh vpnsetup.sh
|
||||
[修改这些参数为你自己的值: IPSEC_PSK, VPN_USER 和 VPN_PASSWORD]
|
||||
sh vpnsetup.sh
|
||||
```
|
||||
|
||||
### 用于 CentOS 和 RHEL:
|
||||
@ -62,8 +62,8 @@ sudo sh vpnsetup.sh
|
||||
yum -y install wget nano
|
||||
wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup_centos.sh -O vpnsetup_centos.sh
|
||||
nano -w vpnsetup_centos.sh
|
||||
[编辑并替换这些参数为你自己的值: IPSEC_PSK, VPN_USER 和 VPN_PASSWORD]
|
||||
sudo sh vpnsetup_centos.sh
|
||||
[修改这些参数为你自己的值: IPSEC_PSK, VPN_USER 和 VPN_PASSWORD]
|
||||
sh vpnsetup_centos.sh
|
||||
```
|
||||
|
||||
如果无法通过 `wget` 下载,你也可以打开 <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a> (或者 <a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a>),然后点击右方的 **`Raw`** 按钮。按快捷键 `Ctrl-A` 全选, `Ctrl-C` 复制,然后粘贴到你喜欢的编辑器。
|
||||
@ -85,7 +85,7 @@ sudo sh vpnsetup_centos.sh
|
||||
|
||||
如果你想创建具有不同凭据的多个 VPN 用户,只需要<a href="https://gist.github.com/hwdsl2/123b886f29f4c689f531" target="_blank">修改这几行的脚本</a>。
|
||||
|
||||
在 VPN 处于活动状态时,客户端已配置为使用<a href="https://developers.google.com/speed/public-dns/" target="_blank">Google Public DNS</a>。此设置可在 `options.xl2tpd` 文件的 `ms-dns` 项更改。
|
||||
在 VPN 处于活动状态时,客户端已配置为使用 <a href="https://developers.google.com/speed/public-dns/" target="_blank">Google Public DNS</a>。此设置可在 `options.xl2tpd` 文件的 `ms-dns` 项更改。
|
||||
|
||||
仅适用于 Amazon EC2 实例:在<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">安全组</a>设置中,请打开 UDP 端口 500 和 4500,以及 TCP 端口 22 (可选,用于 SSH )。
|
||||
|
||||
|
10
README.md
10
README.md
@ -6,12 +6,12 @@ Scripts for automatic configuration of an IPsec/L2TP VPN server on Ubuntu 16.04/
|
||||
|
||||
We will use <a href="https://libreswan.org/" target="_blank">Libreswan</a> as the IPsec server, and <a href="https://www.xelerance.com/services/software/xl2tpd/" target="_blank">xl2tpd</a> as the L2TP provider.
|
||||
|
||||
#### <a href="https://blog.ls20.com/ipsec-l2tp-vpn-auto-setup-for-ubuntu-12-04-on-amazon-ec2/" target="_blank">Link to VPN tutorial with detailed usage instructions</a>
|
||||
#### <a href="https://blog.ls20.com/ipsec-l2tp-vpn-auto-setup-for-ubuntu-12-04-on-amazon-ec2/" target="_blank">Link to my VPN tutorial with detailed usage instructions</a>
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Author](#author)
|
||||
- [Main Features](#main-features)
|
||||
- [Features](#features)
|
||||
- [Requirements](#requirements)
|
||||
- [Installation](#installation)
|
||||
- [For Ubuntu and Debian](#for-ubuntu-and-debian)
|
||||
@ -28,7 +28,7 @@ We will use <a href="https://libreswan.org/" target="_blank">Libreswan</a> as th
|
||||
- Final year U.S. PhD candidate seeking opportunities in the industry.
|
||||
- View my LinkedIn profile and contact me: <a href="https://www.linkedin.com/in/linsongui" target="_blank">www.linkedin.com/in/linsongui</a>
|
||||
|
||||
## Main Features
|
||||
## Features
|
||||
|
||||
- Fully automated IPsec/L2TP VPN server setup, no user input needed
|
||||
- Encapsulates all VPN traffic in UDP - does not need ESP protocol
|
||||
@ -70,7 +70,7 @@ First, update your system with `apt-get update && apt-get dist-upgrade` and rebo
|
||||
wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh -O vpnsetup.sh
|
||||
nano -w vpnsetup.sh
|
||||
[Edit and replace IPSEC_PSK, VPN_USER and VPN_PASSWORD with your own values]
|
||||
sudo sh vpnsetup.sh
|
||||
sh vpnsetup.sh
|
||||
```
|
||||
|
||||
### For CentOS and RHEL:
|
||||
@ -82,7 +82,7 @@ yum -y install wget nano
|
||||
wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup_centos.sh -O vpnsetup_centos.sh
|
||||
nano -w vpnsetup_centos.sh
|
||||
[Edit and replace IPSEC_PSK, VPN_USER and VPN_PASSWORD with your own values]
|
||||
sudo sh vpnsetup_centos.sh
|
||||
sh vpnsetup_centos.sh
|
||||
```
|
||||
|
||||
If unable to download via `wget`, you may alternatively open <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a> (or <a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a>) and click the **`Raw`** button. Press `Ctrl-A` to select all, `Ctrl-C` to copy, then paste into your favorite editor.
|
||||
|
Loading…
Reference in New Issue
Block a user