• 如何解决天猫魔盒自动删除第三方应用


    下面的IP地址是从网上收集来的关于aliyun.com和yunos.com的, 把这些IP屏蔽之后就不会出现第三方应用反复被删的情况了, 亲测有效.

    在你的路由器上加入如下防火墙规则即可(其中的Mac地址是天猫魔盒的Mac地址):

    iptables -t filter -A FORWARD -d 42.96.128.0/17 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.120.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.121.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.156.128.0/17 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.75.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.0.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.32.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.48.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.173.192.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.173.208.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.74.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.124.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.127.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 114.215.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.28.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.29.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.16.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.20.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.24.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.38.208.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.38.216.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.224.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.242.0/23 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.244.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.24.0.0/14 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.24.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.0.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.64.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.96.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.108.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.110.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.111.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.16.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.24.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.28.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.40.0.0/14 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.0.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.0.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.64.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.128.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.192.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.224.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.196.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.197.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.198.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.199.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 140.205.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 203.209.250.0/23 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 218.244.128.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.4.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.5.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.5.5.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.6.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.6.6.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.7.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
     
  • 相关阅读:
    最短路一类问题总结
    [Luogu] UVA1205 Color a Tree
    [Luogu] UVA1193 Radar Installation
    [Luogu] P2859 [USACO06FEB]Stall Reservations S
    [Luogu] P1248 加工生产调度
    [Luogu] P3694 邦邦的大合唱站队
    [Luogu] CF229D Towers
    windows server清理文件
    python连接ES进行数据过滤删除,新增查询、创建索引功能
    ES以更新时间为标准,分离数据
  • 原文地址:https://www.cnblogs.com/IvanChen/p/5178908.html
Copyright © 2020-2023  润新知