Welcome to Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network. Please log in or sign up.
สมาชิกทั้งหมด
17,601
กระทู้ทั้งหมด
10,032
หัวข้อทั้งหมด
4,714

  • คู่มือการ Config L2TP IPSecs VPN Client To Site อุปกรณ์ Reyee Gateway
    เริ่มโดย yod
    Read 6,519 times
0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้
yod

 

 
คู่มือการ Config L2TP IPSecs VPN Client To Site อุปกรณ์ Reyee Gateway





หัวข้อนี้จะเป็นการแนะนำการ Config VPN Client To Site ใช้ Protocol L2TP with IPSecs กันครับ





เบื้องต้น ถ้าต้องการทำ VPN แต่ยังไม่ทราบว่าจะต้องเตรียมอะไรบ้าง ผมแนะนำให้อ่านในบทความนี้ก่อนครับ ต้องการเชื่อมเครือข่าย Network ระหว่างสำนักงานด้วย VPN






การทำ VPN Client To Site แบบ L2TP IPSec ในบทความนี้จะใช้ได้กับ Reyee by Ruijie Gateway ได้ทุกรุ่นครับ







1. เชื่อมต่อ PC เข้ากับ Port Lan ของ Reyee Gateway และ ต่อ Internet เข้ากับ Port WAN0 ถ้าเป็น Fiber Modem ให้ Set เป็น Bridge ให้เรียบร้อยก่อน





PC จะได้ IP วง 192.168.110.0 มา












2. Login เข้า Gateway IP Default: 192.168.110.1




Click [เริ่มต้นตั้งค่า]









ใส่รายละเอียด เช่น Password Gateway, PPPoE Username/Password



Click [สร้างเครือข่ายและเชื่อมต่อ]











Refresh Browser เพื่อ Login เข้า Gateway

















3. กรณีที่ไม่ได้สมัคร Internet เป็นแบบ Fix IP ไว้ Reyee Gateway จะรองรับ No-IP ครับ สมัคร Account ให้เรียบร้อย




Menu Router --> Advanced --> Dynamic DNS


IP Address ตรงมุมขวาบน คือ หมายเลข IP แบบ Public













ใส่รายละเอียด Account No-IP DNS แล้ว Click [Login]











ถ้า Login สำเร็จจะขึ้น Connection success และ ในหน้า Dashboard ของ Web No-IP จะมีการ Update WAN IP-Address ที่ถูกต้อง

















4. Menu Router --> VPN --> L2TP



Enable L2TP

L2TP Type: L2TP Server

Local Address: IP VPN (ใส่ตามรูปได้เลยครับ)

IP-Range: IP ที่จะแจกให้ Client ที่เชื่อมต่อเข้ามา

DNS Server: 8.8.8.8

IPSec Security: Yes

Pre-Shared Key: Key สำหรับเชื่อมต่อ VPN









Click [Save]







5. สร้าง VPN User Account



Menu VPN --> VPN Clients --> Add















ทดสอบ





ใช้ PC อีกเครื่อง ที่อยู่คนละวง Network กับ Reyee Router สร้าง VPN Connection












กำหนดค่า VPN Connection

Connection Name: ชื่อ Connection
Server name or Address: IP Address ของ VPN Router หรือ NO-IP Host Name ที่สร้างไว้
VPN Type: L2TP/IPsec with pre-shared key
Pre-shared key: Key ที่สร้างไว้ในข้อ 4
Username/Password: VPN Client User










พอ Click Save แล้ว ถ้าลอง Connect จะขึ้น Error ต้องมีการแก้ไข VPN Properties Connection ด้วยครับ ไปที่ Network and Sharing Center --> Change Adapter Settings





Click [Allow these protocols]











ทำการ Connect VPN











ทดสอบเข้าไปยังเครื่องที่ Share File ไว้











หรือทดสอบ Ping











ใน Reyee Gateway จะแสดงรายละเอียดของ User ที่ Dial-In เข้ามาครับ









เรียบร้อยครับ 8)