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