1.IPv6允许特定端口的入站连接
/ipv6 firewall filter
# 允许HTTPS访问NAS (端口443)
add action=accept chain=forward comment="Allow HTTPS to NAS" protocol=tcp dst-port=443 in-interface-list=WAN
# 允许HTTP访问NAS (端口80)
add action=accept chain=forward comment="Allow HTTP to NAS" protocol=tcp dst-port=80 in-interface-list=WAN
# Transmission传输端口
add action=accept chain=forward comment="Allow HTTP to NAS" protocol=tcp dst-port=51413 in-interface-list=WAN
add action=accept chain=forward comment="Allow HTTP to NAS" protocol=udp dst-port=51413 in-interface-list=WAN
# 允许其他需要的端口(根据您的服务调整)
add action=accept chain=forward comment="Allow Custom Port" protocol=tcp dst-port=YOUR_PORT in-interface-list=WAN
2.全锥形NAT
/ip firewall nat add action=endpoint-independent-nat chain=srcnat protocol=udp place-before=0 comment=FullCone-Nat
/ip firewall nat add action=endpoint-independent-nat chain=dstnat protocol=udp place-before=0 comment=FullCone-Nat
评论区