之前使用命令行逐步安装IPSec的折腾,后来发现在github上一键安装IPSec服务的安装脚本,有三种安装选项,见项目中安装说明即可。

项目地址:https://github.com/hwdsl2/setup-ipsec-vpn