ลด 50% ทุกแพ็กเกจ เวลาจำกัด เริ่มต้นที่ $2.48/mo
V2Ray

V2Ray

V2Ray คือแพลตฟอร์ม proxy ที่ยืดหยุ่น รองรับ tunnel แบบ VMess, VLESS, และ Trojan สำหรับการหลีกเลี่ยงการเซ็นเซอร์และการปิดบังการรับส่งข้อมูล เป็น open-source และเป็นพื้นฐานของเครื่องมือ VPN จีนยุคใหม่ส่วนใหญ่ ถือเป็น protocol stack อ้างอิงสำหรับผู้ใช้ในประเทศที่มีการเซ็นเซอร์เข้มงวด

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

ไดเรกทอรีและไฟล์สำคัญ

  • V2Ray binary: /usr/local/bin/v2ray
  • ไฟล์ข้อมูล (geoip, geosite): /usr/local/share/v2ray/
  • Logs: /var/log/v2ray/
  • Server Config: /usr/local/etc/v2ray/config.json
  • Client Config: /root/client.json (SOCKS5 on 127.0.0.1:1080)
  • VMESS Share URL: /root/client.vmess (เข้ารหัสด้วย base64 สามารถนำเข้าใน V2Ray client ได้)

การจัดการ Service

systemctl start v2ray      # Start service
systemctl stop v2ray       # Stop service
systemctl restart v2ray    # Reload configs
systemctl status v2ray     # Show status
journalctl -u v2ray -f     # Live logs

How to Connect

ตัวเลือก A: ใช้ Client Config (client.json)

1. Copy /root/client.json ไปยังเครื่องของคุณ

2. Run V2Ray locally:

v2ray run -config client.json

3. ตั้งค่าเบราว์เซอร์/ระบบให้ใช้ SOCKS5 proxy:

Host: 127.0.0.1
Port: 1080

ตัวเลือก B: ใช้ VMESS URL

1. Open /root/client.vmess และคัดลอก URL

2. นำเข้าไปยังแอปไคลเอนต์

แก้ไข Config

Server config: /usr/local/etc/v2ray/config.json

ตัวอย่างการแก้ไข: เปลี่ยน port 10086443 เพื่อหลีกเลี่ยงไฟร์วอลล์ได้ดีขึ้น

After editing:

systemctl restart v2ray

Security Notes

  • นี่คือการตั้งค่าสาธิตเบื้องต้นเท่านั้น ผู้ใช้ขั้นสูงต้องกำหนดค่าและเสริมความปลอดภัยด้วยตัวเอง
  • ใช้ชื่อโดเมน + TLS (ผ่าน Nginx + certbot) เพื่อซ่อนตัวตน
  • เก็บ UUID ไว้เป็นความลับ สร้างใหม่ได้ด้วย: v2ray uuid

 

More in Security

Related apps.

Deploy V2Ray now. เริ่มต้นที่ $2.48/เดือน