ระบบนี้ใช้และต่อยอดจาก IPsec/L2TP VPN setup scripts โดย Lin Song (https://github.com/hwdsl2/setup-ipsec-vpn)
ไฟล์คอนฟิก client
/root/vpnclient.p12 # for Windows & Linux
/root/vpnclient.sswan # for Android
/root/vpnclient.mobileconfig # for iOS & macOS
คู่มือการตั้งค่า client
ดูคำแนะนำการตั้งค่า client อย่างเป็นทางการได้ที่: https://vpnsetup.net/clients
ไฟล์และไดเรกทอรีสำคัญ
- การตั้งค่า IPsec:
/etc/ipsec.conf - ใบรับรองและคีย์ IPsec:
/etc/ipsec.d/ - PSK และการยืนยันตัวตน:
/etc/ipsec.secrets - การกำหนดค่า L2TP daemon:
/etc/xl2tpd/ - การตั้งค่า PPP (Point-to-Point Protocol) และ CHAP:
/etc/ppp/ - ข้อมูลประจำตัว VPN:
/root/.cloudzy-creds - การตั้งค่าไซต์ Nginx:
/etc/nginx/sites-available/nocodb.conf - ใบรับรอง SSL แบบ self-signed:
/etc/nginx/s