Update README.md
This commit is contained in:
parent
3ca9af7858
commit
79986ee540
@ -89,7 +89,7 @@ sudo sh vpnsetup_centos.sh
|
|||||||
|
|
||||||
仅适用于 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 )。
|
仅适用于 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 )。
|
||||||
|
|
||||||
如果你为服务器配置了自定义 SSH 端口(不是 22)或希望允许其他服务,请在运行脚本之前编辑 <a href="vpnsetup.sh#L278" target="_blank">IPTables 防火墙规则</a>。
|
如果你为服务器配置了自定义 SSH 端口(不是 22)或希望允许其他服务,请在运行脚本之前编辑 <a href="vpnsetup.sh#L277" target="_blank">IPTables 防火墙规则</a>。
|
||||||
|
|
||||||
这些脚本每次在更改你的配置文件之前,会在同一目录下以 `.old-日期-时间` 为后缀备份现有的配置文件。
|
这些脚本每次在更改你的配置文件之前,会在同一目录下以 `.old-日期-时间` 为后缀备份现有的配置文件。
|
||||||
|
|
||||||
|
18
README.md
18
README.md
@ -8,13 +8,27 @@ We will use <a href="https://libreswan.org/" target="_blank">Libreswan</a> as th
|
|||||||
|
|
||||||
#### <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 VPN tutorial with detailed usage instructions</a>
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
- [Author](#author)
|
||||||
|
- [Main Features](#main-features)
|
||||||
|
- [Requirements](#requirements)
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [For Ubuntu and Debian](#for-ubuntu-and-debian)
|
||||||
|
- [For CentOS and RHEL](#for-centos-and-rhel)
|
||||||
|
- [Next Steps](#next-steps)
|
||||||
|
- [Important Notes](#important-notes)
|
||||||
|
- [Upgrading Libreswan](#upgrading-libreswan)
|
||||||
|
- [Bugs & Questions](#bugs--questions)
|
||||||
|
- [Copyright and License](#copyright-and-license)
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
##### Lin Song
|
##### Lin Song
|
||||||
- Final year U.S. PhD candidate seeking opportunities in the industry.
|
- 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>
|
- View my LinkedIn profile and contact me: <a href="https://www.linkedin.com/in/linsongui" target="_blank">www.linkedin.com/in/linsongui</a>
|
||||||
|
|
||||||
## Features
|
## Main Features
|
||||||
|
|
||||||
- Fully automated IPsec/L2TP VPN server setup, no user input needed
|
- Fully automated IPsec/L2TP VPN server setup, no user input needed
|
||||||
- Encapsulates all VPN traffic in UDP - does not need ESP protocol
|
- Encapsulates all VPN traffic in UDP - does not need ESP protocol
|
||||||
@ -93,7 +107,7 @@ Clients are configured to use <a href="https://developers.google.com/speed/publi
|
|||||||
|
|
||||||
For Amazon EC2 instances only: In the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">security group</a>, open UDP ports 500 & 4500 and TCP port 22 (optional, for SSH).
|
For Amazon EC2 instances only: In the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">security group</a>, open UDP ports 500 & 4500 and TCP port 22 (optional, for SSH).
|
||||||
|
|
||||||
If you configured a custom SSH port (not 22) or wish to allow other services, edit <a href="vpnsetup.sh#L278" target="_blank">IPTables rules</a> before using the scripts.
|
If you configured a custom SSH port (not 22) or wish to allow other services, edit <a href="vpnsetup.sh#L277" target="_blank">IPTables rules</a> before using the scripts.
|
||||||
|
|
||||||
The scripts will backup your existing config files before making changes, to the same folder with `.old-date-time` suffix.
|
The scripts will backup your existing config files before making changes, to the same folder with `.old-date-time` suffix.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user