初始化脚本
curl -s https://raw.githubusercontent.com/tz1006/PPTP-IPsec/master/init.sh | bash
-
update
-
rc启动脚本
-
防火墙
-
ipv4 forward
-
wget !
-
git !
-
screen !
-
python3 !
-
vnc !
Nginx 反向代理
curl -s https://raw.githubusercontent.com/tz1006/PPTP-IPsec/master/nginx.sh | bash -s $(hostname) proxy.com
Let's Encrypt 证书
curl -s https://raw.githubusercontent.com/tz1006/PPTP-IPsec/master/letsencrypt.sh | bash -s $(hostname)
账号密码密钥默认都为vpn
IKEv2 Ubuntu16/18
curl -s https://raw.githubusercontent.com/tz1006/PPTP-IPsec/master/IKEv2_ubuntu.sh | bash
配置目录
/etc/ipsec.conf
/etc/strongswan.d
账号密码目录
/etc/ipsec.secrets
80 500 4500 1700 1723 eth0
/etc/sysctl.conf
/etc/ppp/chap-secrets