RouterOS需要禁止ref="https://xwenw.com/tag/%e5%b1%80%e5%9f%9f%e7%bd%91" target="_blank">局域网内某个IP上网(如10.1.0.59)

操作方法

使用Winbox,IP –> Firewall –> Filter Rules –> + ,新增一条filter规则即可。

Chain:forward

Src. Address:10.1.0.59(内网需要禁止的IP地址)

Out. Interface:pppoe-out1(上网的pppoe拨号)

Action:drop

433-1.png

RouterOS命令

/ip firewall filter add action=drop chain=forward out-interface=pppoe-out1 src-address=10.1.0.59
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。