blues9
V2EX  ›  问与答

路由 iptables 不支持 match-set

  •  
  •   blues9 · Apr 12, 2016 · 3779 views
    This topic created in 3698 days ago, the information mentioned may be changed or developed.

    想陪域名分流的路由: iptables -t nat -A PREROUTING -p tcp -m set --match-set cross dst -j REDIRECT --to-port 1080 但路由自带的 iptables 貌似不支持: iptables v1.3.8: Unknown arg '--match-set'

    有什么办法能实现?

    1 replies    2016-04-12 13:01:04 +08:00
    v1024
        1
    v1024  
       Apr 12, 2016
    openwrt 里内置的都是精简版,你需要另外安装 iptables-mod-*, 可能可以帮助到你的软件包应该是 iptables-mod-extra
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1294 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:45 · PVG 07:45 · LAX 16:45 · JFK 19:45
    ♥ Do have faith in what you're doing.