本帖最後由 张无忌 於 2018-5-29 14:36 編輯
How to block unwanted websites?
除了下面的方法,还可以用DNS方法,这不用disable fasttrack,Link
1. Specify the unwanted website, for example www.qq.com, www.youku.com, www.iqiyi.com)- /ip firewall layer7-protocol
- add name=block_websites regexp="^(.*)(qq|youku|iqiyi)(.*)\$\$"
複製代碼 #
2. Specify the filter rules- /ip firewall filter
- add chain=forward action=drop layer7-protocol=block_websites protocol=tcp \
- src-address=192.168.10.0/24 dst-port=80,443
複製代碼 3. Disable the fasttrack rules
如果不disable fasttrack rules,block websites routine不能正常工作。
因为我在大陆,没有办法测试www.facebook.com, 希望香港的members可以按照上面方法证实一下。 |