ข้ามไปยังเนื้อหาหลัก
ลด 50% ทุกแพลน เวลาจำกัด เริ่มต้นที่ $2.48/mo
L2TP VPN Server

L2TP VPN Server

L2TP/IPsec VPN Server มีโปรโตคอล VPN ในตัว รองรับ client แบบ native บน Windows, macOS, iOS และ Android โดยไม่ต้องติดตั้งซอฟต์แวร์เพิ่มเติม เหมาะสำหรับกรณีที่ WireGuard หรือ OpenVPN client ไม่รองรับอุปกรณ์เป้าหมาย

ภาพรวม

28.1k

GitHub stars

230

การดูหน้า

เวอร์ชัน Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4

ระบบนี้ใช้และต่อยอดจาก 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

 

เพิ่มเติมในความปลอดภัย

แอปที่เกี่ยวข้อง

ติดตั้ง L2TP VPN Server ได้เลย เริ่มต้น $2.48/เดือน