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

  • คู่มือการทำ Dynamic DNS และ Forward Port ใน Ubiquiti Edge Router
    เริ่มโดย yod
    Read 12,859 times
0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้
yod

 

 

คู่มือการทำ Dynamic DNS และ Forward Port ใน Ubiquiti Edge Router


ตัวอย่างจะเป็นการ Config Dynamic DNS กับทำ Forward Port บนอุปกรณ์ Ubiquiti Edge Router

1. Menu Service --> DNS --> Click [Add DDNS Interface]




2. เลือก Interface ที่เชื่อมต่อกับ Internet ในรูปจะเป็นแบบ PPPoE

Service: dyndns
Hostname: Hostname ที่ Register ไว้
Login: User Account ของ dyndns
Password: Password Account ของ dyndns



Click [Apply]


ถ้า Update สำเร็จจะขึ้น "The configulation has been applied successfully"




3. ทำการ Enable Remote Access (Port 80 และ Port 443)

Menu Firewall --> Firewall Policies เลือก WAN_LOCAL --> Action [Edit Ruleset]




Tab Rules --> Click [Add New Rule] --> Tab Basic

Description: WEB_REMOTE
Action: Accept
Protocol: TCP




Tab Destination
Port: 80,443




Click [Save]

เลื่อน Rule ที่สร้างขึ้นมาไปอยู่ด้านบน จากนั้น Click [Save Rule Order]




4. ทีนี้เป็นการทำ Forward Port ครับ

ตัวอย่างจะ Forward มายัง Ubiquiti Unifi Controller ซึ่งเป็น Port 8443 ต้องการให้ Remote จากภายนอกผ่าน Port 9000

Menu FIrewall --> Port Forwarding

WAN Interface: pppoe0 (ขาที่ออก Internet)
Hairpin NAT: Enable
LAN Interface: switch0

Port Forwarding rules
Original Port: 9000
Protocol: Both
Forward-to-address: หมายเลข IP ของเครื่องที่ต้องการ Forward ไป
Forward-to port: Port ของเครื่องที่ต้องการ Forward (8443)



Click [Apply]


เวลาต้องการ Remote จากภายนอก ให้พิมพ์ https://dynamicdns:8443