本系统采用并基于林松(https://github.com/hwdsl2/setup-ipsec-vpn)的IPsec/L2TP VPN配置脚本。
客户端配置文件
/root/vpnclient.p12 # for Windows & Linux
/root/vpnclient.sswan # for Android
/root/vpnclient.mobileconfig # for iOS & macOS
客户端设置指南
请参阅官方客户端设置说明:https://vpnsetup.net/clients
重要文件和目录
- IPsec配置:
/etc/ipsec.conf - IPsec证书和密钥:
/etc/ipsec.d/ - PSK和认证:
/etc/ipsec.secrets - L2TP守护进程配置:
/etc/xl2tpd/ - 点对点协议(PPP)和CHAP设置:
/etc/ppp/ - VPN凭证:
/root/.cloudzy-creds - Nginx 站点配置:
/etc/nginx/sites-available/nocodb.conf - 自签名SSL证书:
/etc/nginx/s