ROS软路由禁下载和看网络视频
答案:4 悬赏:60 手机版
解决时间 2021-11-10 21:44
- 提问者网友:不爱我么
- 2021-11-10 11:38
ROS软路由禁下载和看网络视频
最佳答案
- 五星知识达人网友:鸠书
- 2021-11-10 12:59
能禁迅雷。 PPS单靠脚本禁不了。
/ ip firewall filter add chain=forward content="octet-stream" action=drop comment="NO Thunder" disabled=no
/ ip firewall filter add chain=forward content="Pragma: no-cache" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Connection: close" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Range: bytes=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie: __utma=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="filename=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie rtime=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Content-Disposition: attachment;" action=drop comment="" disabled=no
这是完全禁止迅雷的。有副作用就是普通下载保存也不能下。原因是禁止了octet-stream这个关键字。(实际测试过)
建议用下面的代码:
/ ip firewall filter
add chain=forward content=octet-stream action=drop comment="\D1\B8\C0\D7\B5\A5\CF\DF\B3\CCBegin" disabled=no
add chain=forward dst-address=213.39.61.58 action=drop comment="" disabled=no
add chain=forward dst-address=219.129.83.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=220.172.191.36 action=drop comment="" disabled=no
add chain=forward dst-address=61.183.55.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=58.61.39.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=121.10.120.0/24 protocol=tcp dst-port=!80 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=3076-3079 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=3076-3079 action=drop comment="" disabled=no
add chain=forward dst-address=221.238.253.251 action=accept comment="Thunder Login IP" disabled=no
add chain=forward protocol=udp dst-port=1004 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=5004 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=5200 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=6200 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=8001 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=8001 action=drop comment="" disabled=no
add chain=forward protocol=udp src-port=15000-15001 action=drop comment="" disabled=no
add chain=forward protocol=udp src-port=16818 action=drop comment="\D1\B8\C0\D7\B5\A5\CF\DF\B3\CCOver" disabled=no
迅雷单线程脚本。。能让迅雷单线程下载。。也不影响其他下载。
/ ip firewall filter add chain=forward content="octet-stream" action=drop comment="NO Thunder" disabled=no
/ ip firewall filter add chain=forward content="Pragma: no-cache" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Connection: close" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Range: bytes=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie: __utma=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="filename=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie rtime=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Content-Disposition: attachment;" action=drop comment="" disabled=no
这是完全禁止迅雷的。有副作用就是普通下载保存也不能下。原因是禁止了octet-stream这个关键字。(实际测试过)
建议用下面的代码:
/ ip firewall filter
add chain=forward content=octet-stream action=drop comment="\D1\B8\C0\D7\B5\A5\CF\DF\B3\CCBegin" disabled=no
add chain=forward dst-address=213.39.61.58 action=drop comment="" disabled=no
add chain=forward dst-address=219.129.83.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=220.172.191.36 action=drop comment="" disabled=no
add chain=forward dst-address=61.183.55.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=58.61.39.0/24 action=drop comment="" disabled=no
add chain=forward dst-address=121.10.120.0/24 protocol=tcp dst-port=!80 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=3076-3079 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=3076-3079 action=drop comment="" disabled=no
add chain=forward dst-address=221.238.253.251 action=accept comment="Thunder Login IP" disabled=no
add chain=forward protocol=udp dst-port=1004 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=5004 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=5200 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=6200 action=drop comment="" disabled=no
add chain=forward protocol=tcp dst-port=8001 action=drop comment="" disabled=no
add chain=forward protocol=udp dst-port=8001 action=drop comment="" disabled=no
add chain=forward protocol=udp src-port=15000-15001 action=drop comment="" disabled=no
add chain=forward protocol=udp src-port=16818 action=drop comment="\D1\B8\C0\D7\B5\A5\CF\DF\B3\CCOver" disabled=no
迅雷单线程脚本。。能让迅雷单线程下载。。也不影响其他下载。
全部回答
- 1楼网友:罪歌
- 2021-11-10 16:40
启用恶意网址关键字过滤吧
- 2楼网友:千杯敬自由
- 2021-11-10 15:17
用协议限制。不需要脚本。
- 3楼网友:怙棘
- 2021-11-10 14:09
web-proxy,查阅一下相关文档,很容易的。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯