Mikrotik RouterOS单拨端口映射脚本
/ip firewall nat add chain=dstnat protocol=tcp dst-port=5000-5001 action=dst-nat to-addresses=192.168.1.201 to-ports=5000-5001 comment="Webstation" add chain=dstnat protocol=tcp dst-port=9025-9040 a
/ip firewall nat add chain=dstnat protocol=tcp dst-port=5000-5001 action=dst-nat to-addresses=192.168.1.201 to-ports=5000-5001 comment="Webstation" add chain=dstnat protocol=tcp dst-port=9025-9040 a
/ip firewall nat add action=masquerade chain=srcnat src-address=192.168.1.0/24 dst-address=192.168.1.0/24 out-interface=lan add chain=dstnat src-address=!1.1.1.0/24 dst-address=!1.1.1.1 protocol=tcp