Giới thiệu
- Nội dung thực hiện: Cấu hình NAT và Hairpin NAT
- Cấu hình NAT
- /ip firewall nat
add action=dst-nat chain=dstnat comment=”DVR-nat tu ngoai vao” \
dst-address-type=local dst-port=81 in-interface=pppoe-out1 protocol=tcp \
to-addresses=192.168.1.254 to-ports=81
- /ip firewall nat
- Cấu hình Hairpin NAT
- /ip firewall nat
add action=masquerade chain=srcnat comment=”DVR-hair pin nat” dst-address=\
192.168.1.254 src-address=192.168.1.254/24add action=dst-nat chain=dstnat dst-address-type=local dst-port=81 \
in-interface=bridgeLAN protocol=tcp to-addresses=192.168.1.254 to-ports=\
81
- /ip firewall nat
- Cấu hình NAT
- kiểm tra
- Kiểm tra kết quả trong bảng NAT

- Kiểm tra port

- Kiểm tra kết nối

