OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
justincnn
V2EX  ›  OpenWrt

openwrt 做主路由如何限制部分终端的网速?

  •  
  •   justincnn · Oct 7, 2024 · 1938 views
    This topic created in 625 days ago, the information mentioned may be changed or developed.

    看了半天,openwrt 自身不带这个功能,这个系统做路由器还是有很明显的不足啊

    7 replies    2024-10-12 18:04:46 +08:00
    chqome
        2
    chqome  
       Oct 7, 2024
    装一个 luci-app-nft-qos ,设置很简单,我就是拿它专门对付蹭网的
    justincnn
        3
    justincnn  
    OP
       Oct 7, 2024
    @chqome 这个好,太感谢了
    justincnn
        4
    justincnn  
    OP
       Oct 11, 2024
    @chqome 发现这个不行啊,设置了,观察了几天,但是还是无法控制上传,是我的设置不对么?
    ![]( )
    justincnn
        5
    justincnn  
    OP
       Oct 11, 2024
    @chqome
    发现这个不行啊,设置了,观察了几天,但是还是无法控制上传,是我的设置不对么?

    ![]( https://s2.loli.net/2024/10/11/dwTZAlGoyuzI93P.png)
    batilo
        6
    batilo  
       Oct 12, 2024 via Android
    @justincnn 你看下防火墙里是不是有 fast track 相关规则,部分防火墙规则和 qos 会冲突
    justincnn
        7
    justincnn  
    OP
       Oct 12, 2024
    @batilo 防火墙的自定义只有如下的内容:
    iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
    iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
    [ -n "$(command -v ip6tables)" ] && ip6tables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
    [ -n "$(command -v ip6tables)" ] && ip6tables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 00:55 · PVG 08:55 · LAX 17:55 · JFK 20:55
    ♥ Do have faith in what you're doing.