/ip firewall filter add chain=forward src-address=收銀機IP dst-address=!點卡網(wǎng)站IP action=drop comment="" disabled=no
這樣就可以只能上 充值網(wǎng)站了.
但收銀臺用的萬象和過濾王收費.數(shù)據(jù)是又是什么實名,那些的數(shù)據(jù) 所以這樣不太實際!
結(jié)合其他老前輩的阻止的帖子 自己總結(jié)了個
首先允許收銀臺機器能上某個IP網(wǎng)站 (當(dāng)然,你也可以添加多個允許的其他IP地址)
/ip firewall filter add chain=forward src-address=收銀機IP dst-address=點卡網(wǎng)站IP protocol=tcp dst-port=80 action=accept comment="" disabled=no
然后阻止收銀臺機器打開其他網(wǎng)站的80口 (只阻止80端口,所以不必?fù)?dān)心其他什么)
/ip firewall filter add chain=forward src-address=內(nèi)網(wǎng)限制IP protocol=tcp dst-port=80 action=drop comment="" disabled=no
注意一定要把允許的放前面,然后再阻止!