RouterOS v7 DST-NAT & Hairpin Engine
สคริปต์ Forward Port (DST-NAT) ดูกล้องวงจรปิดและเซิร์ฟเวอร์
สร้างคำสั่ง Forward Port (DST-NAT) เปิดพอร์ตดูกล้องวงจรปิด CCTV, NVR, Synology NAS, Web Server, และรีโมต RDP พร้อมระบบ Hairpin NAT อัตโนมัติ ป้องกันปัญหาดูจากในบ้านไม่ได้
ปุ่มลัดบริการยอดนิยม (One-Click Service Chips)
กดปุ่มบริการเพื่อเพิ่มกฎ Port Forwarding เข้าสู่ตารางด้านล่างทันที
หากใช้ PPPoE ให้ใส่ชื่อ interface เช่น pppoe-out1
ใช้สำหรับคำนวณ Hairpin NAT วงภายใน
รายการกฎ Port Forwarding ที่เลือก (0 กฎ)
สามารถแก้ไข IP ปลายทาง พอร์ต หรือสลับลำดับการทำงานได้
MikroTik RouterOS v7 NAT Script Output
สคริปต์คำสั่ง DST-NAT & Hairpin NAT (พร้อมรันใน WinBox Terminal)
คำแนะนำด้านความปลอดภัย: กด [Ctrl] + [X] เปิด Safe Mode ก่อนวางคำสั่ง NAT บน WinBox เสมอ
# ======================================================== # MikroTik Port Forward (DST-NAT) # Generated by SIAM-LOGIN (https://www.siamlogin.com) # ======================================================== /ip firewall nat add chain=dstnat action=dst-nat to-addresses=192.168.88.50 to-ports=80 protocol=tcp in-interface=ether1 dst-port=8080 comment="Port Forward CCTV Web" /ip firewall filter add chain=forward action=accept connection-nat-state=dstnat comment="Accept Port Forwarded Traffic"
คำสั่ง Rollback หากต้องการลบกฎ DST-NAT ที่สร้าง:
/ip firewall nat remove [find comment~"SIAM-LOGIN: Forward"] /ip firewall nat remove [find comment="SIAM-LOGIN: Hairpin NAT"]
Enterprise Network & Security
ต้องการทีมช่างวางระบบ Network ดูกล้องวงจรปิด หรือเซิร์ฟเวอร์ออนไลน์ 24 ชม.?
SIAM-LOGIN ให้บริการติดตั้ง Firewall, จัดทำระบบ DDNS, VPN ข้ามสาขา และจัดหาอุปกรณ์ MikroTik แท้ศูนย์ไทย พร้อมรับประกันและการดูแลหลังการขาย