From c23d5c972a7729e4798fc2e6e4572b31be34968f Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 7 Jan 2017 23:32:58 -0600 Subject: [PATCH] Update docs [ci skip] --- README-zh.md | 19 +++++++++++++++++++ README.md | 21 ++++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/README-zh.md b/README-zh.md index 3f5600b..de3dc55 100644 --- a/README-zh.md +++ b/README-zh.md @@ -14,6 +14,7 @@ IPsec VPN 可以加密你的网络流量,以防止在通过因特网传送时 #### 目录 +- [快速开始](#快速开始) - [功能特性](#功能特性) - [系统要求](#系统要求) - [安装说明](#安装说明) @@ -25,6 +26,24 @@ IPsec VPN 可以加密你的网络流量,以防止在通过因特网传送时 - [另见](#另见) - [授权协议](#授权协议) +## 快速开始 + +首先,在你的 Linux 服务器* 上全新安装一个 Ubuntu LTS,Debian 8 或者 CentOS 7/6 系统。 + +使用以下命令快速搭建 IPsec VPN 服务器: + +```bash +wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh +``` + +对于 CentOS 系统,将上面的 `https://git.io/vpnsetup` 换成 `https://git.io/vpnsetup-centos`。 + +你的 VPN 登录凭证将会被自动随机生成,并在安装完成后在屏幕上显示。 + +如需了解其它安装选项,以及如何配置 VPN 客户端,请阅读以下部分。 + +\* 一个专用服务器或者虚拟专用服务器 (VPS)。OpenVZ VPS 不受支持。 + ## 功能特性 - **新:** 增加支持更高效的 `IPsec/XAuth ("Cisco IPsec")` 模式 diff --git a/README.md b/README.md index e67e6bb..086dafc 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ We will use Libreswan as th #### Table of Contents +- [Quick start](#quick-start) - [Features](#features) - [Requirements](#requirements) - [Installation](#installation) @@ -25,6 +26,24 @@ We will use Libreswan as th - [See also](#see-also) - [License](#license) +## Quick start + +First, prepare your Linux server* with a fresh install of Ubuntu LTS, Debian 8 or CentOS 7/6. + +Use this one-liner to set up an IPsec VPN server: + +```bash +wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh +``` + +If using CentOS, replace `https://git.io/vpnsetup` above with `https://git.io/vpnsetup-centos`. + +Your VPN login details will be randomly generated, and displayed on the screen when finished. + +For other installation options and how to set up VPN clients, read the sections below. + +\* A dedicated server or Virtual Private Server (VPS). OpenVZ VPS is NOT supported. + ## Features - **New:** The faster `IPsec/XAuth ("Cisco IPsec")` mode is supported @@ -48,7 +67,7 @@ Please refer to this workaround. OpenVZ VPS is NOT supported, users could instead try OpenVPN. +A dedicated server or Virtual Private Server (VPS), freshly installed with one of the above OS. In addition, Debian 7 (Wheezy) can also be used with this workaround. OpenVZ VPS is NOT supported, users could instead try OpenVPN. This also includes Linux VMs in public clouds, such as DigitalOcean, Vultr, Linode, Google Compute Engine, Amazon Lightsail, Microsoft Azure, IBM SoftLayer, Rackspace and VMware vCloud Air.