示例:
/ip firewall nat add chain=dstnat \
dst-address=120.42.115.6 protocol=tcp dst-port=80 action=dst-nat \
to-addresses=192.168.0.1 to-ports=80 comment="http"
*将公网IP120.42.115.6的80口数据映射到内网192.168.0.1的80端口上。
继续阅读
示例:
/ip firewall nat add chain=dstnat \
dst-address=120.42.115.6 protocol=tcp dst-port=80 action=dst-nat \
to-addresses=192.168.0.1 to-ports=80 comment="http"
*将公网IP120.42.115.6的80口数据映射到内网192.168.0.1的80端口上。
继续阅读