From 6514fa2cd37fdcb58b90d146734954aeacad7ecf Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Tue, 10 Aug 2021 03:43:00 -0500 Subject: [PATCH] Update docs --- README-zh.md | 31 +++---------------------------- README.md | 35 +++++------------------------------ 2 files changed, 8 insertions(+), 58 deletions(-) diff --git a/README-zh.md b/README-zh.md index 4823afb..f02c1b6 100644 --- a/README-zh.md +++ b/README-zh.md @@ -27,39 +27,14 @@ IPsec VPN 可以加密你的网络流量,以防止在通过因特网传送时 ## 快速开始 -首先,在你的 Linux 服务器\* 上全新安装以下系统之一。 +首先,在你的 Linux 服务器\* 上全新安装以下系统之一: +Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux 或者 Amazon Linux 2 使用以下命令快速搭建 IPsec VPN 服务器: -
- -Ubuntu & Debian - - ```bash -wget https://git.io/vpnsetup -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto +wget https://git.io/vpnquickstart -O vpn.sh && sudo sh vpn.sh ``` -
- -
- -CentOS/RHEL, Rocky Linux & AlmaLinux - - -```bash -wget https://git.io/vpnsetup-centos -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto -``` -
- -
- -Amazon Linux 2 - - -```bash -wget https://git.io/vpnsetup-amzn -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto -``` -
你的 VPN 登录凭证将会被自动随机生成,并在安装完成后显示在屏幕上。 diff --git a/README.md b/README.md index 2d6c1d8..b4b0ee0 100644 --- a/README.md +++ b/README.md @@ -27,48 +27,23 @@ We will use [Libreswan](https://libreswan.org/) as the IPsec server, and [xl2tpd ## Quick start -First, prepare your Linux server\* with a fresh install of one of the following OS. +First, prepare your Linux server\* with a fresh install of one of the following OS: +Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux or Amazon Linux 2 Use this one-liner to set up an IPsec VPN server: -
- -Ubuntu & Debian - - ```bash -wget https://git.io/vpnsetup -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto +wget https://git.io/vpnquickstart -O vpn.sh && sudo sh vpn.sh ``` -
- -
- -CentOS/RHEL, Rocky Linux & AlmaLinux - - -```bash -wget https://git.io/vpnsetup-centos -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto -``` -
- -
- -Amazon Linux 2 - - -```bash -wget https://git.io/vpnsetup-amzn -O vpn.sh && sudo sh vpn.sh && sudo ikev2.sh --auto -``` -
Your VPN login details will be randomly generated, and displayed on the screen when finished.
-Click here to see the VPN scripts in action (terminal recording). +Click here to see the VPN script in action (terminal recording). -**Note:** This recording is for demonstration purposes only. VPN credentials in this recording are **NOT** valid. +**Note:** This recording is for demo purposes only. VPN credentials in this recording are **NOT** valid.