Skip to content

梅林/华硕 iptable不支持-w参数 #88

@suzukua

Description

@suzukua

梅林/华硕 iptable不支持-w参数,能兼容老的方式吗

admin@RT-AX86U-A908:/tmp/home/root# ./fakehttp -h www.example.com -i ppp0
2025-08-12 09:52:04 [src/mainfun.c:382] FakeHTTP version 0.9.18
2025-08-12 09:52:04 [src/mainfun.c:383]
2025-08-12 09:52:04 [src/mainfun.c:384] FakeHTTP is free software licensed under the GPLv3.
2025-08-12 09:52:04 [src/mainfun.c:385] Distribution without the accompanying source code is not permitted.
2025-08-12 09:52:04 [src/mainfun.c:386]
2025-08-12 09:52:04 [src/mainfun.c:387] Home page: https://github.com/MikeWang000000/FakeHTTP
2025-08-12 09:52:04 [src/mainfun.c:388]
2025-08-12 09:52:04 [src/nfrules.c:051] WARNING: Falling back to iptables command, as nft command is not working.
iptables v1.4.15: unknown option "-w"
Try iptables -h' or 'iptables --help' for more information. [*] failed command is: iptables -w -t mangle -N FAKEHTTP_S 2025-08-12 09:52:04 [src/ipv4ipt.c:216] at fh_execute_command() 2025-08-12 09:52:04 [src/nfrules.c:060] at fh_ipt4_setup() 2025-08-12 09:52:04 [src/mainfun.c:416] at fh_nfrules_setup() 2025-08-12 09:52:04 [src/mainfun.c:416] at main() admin@RT-AX86U-A908:/tmp/home/root# admin@RT-AX86U-A908:/tmp/home/root# ip ip ip6tables-save iperf3 ipset iptables-save ip6tables ipcrm iproxy iptables ip6tables-restore ipcs ipsec iptables-restore admin@RT-AX86U-A908:/tmp/home/root# iptables -v iptables v1.4.15: no command specified Try iptables -h' or 'iptables --help' for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions