本系统基于 Lin Song 的 IPsec/L2TP VPN 配置脚本构建 (https://github.com/hwdsl2/setup-ipsec-vpn)
客户端配置文件
/root/vpnclient.p12 # for Windows & Linux
/root/vpnclient.sswan # for Android
/root/vpnclient.mobileconfig # for iOS & macOS
客户端配置指南
请参阅官方客户端配置说明:https://vpnsetup.net/clients
重要文件与目录
- IPsec configuration:
/etc/ipsec.conf - IPsec 证书与密钥:
/etc/ipsec.d/ - PSK 与身份验证:
/etc/ipsec.secrets - L2TP daemon configuration:
/etc/xl2tpd/ - PPP(点对点协议)与 CHAP 配置:
/etc/ppp/ - VPN credentials:
/root/.cloudzy-creds - Nginx 站点配置:
/etc/nginx/sites-available/nocodb.conf - 自签名 SSL 证书:
/etc/nginx/s