Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No suporte a new iptables version syntax iptables v1.8.7 (legacy) #312

Open
deivisonmoraes opened this issue Dec 7, 2021 · 2 comments
Open

Comments

@deivisonmoraes
Copy link

Hi, I have a version of openwrt (21.02.1) and iptables 1.8.7. In this version iptables in openwrt is compiled without iptables aliases and some wifidog commands are not entering compromising the functioning of the redirect and other functions. Ex: iptables -t filter -A WiFiDog_br-lan_Internet -m conntrack --cstate INVALID -j DROP
iptables v1.8.7 (legacy): unknown option "--cstate"
Try `iptables -h' or 'iptables --help' for more information.

I would like to know if any of you have already had to work around this situation or if there is any workaround in progress for this version of openwrt?

Thanks!

@deivisonmoraes
Copy link
Author

image

@henok400
Copy link

henok400 commented Feb 8, 2022

I got the same issue wifidog run work only the first device connection after that other device connect iptable reject and totally wifidog not functions.
my wifidog conf are

GatewayID F85E3C04D64C
ExternalInterface eth0
GatewayInterface br-lan
AuthServer {
Hostname wan.cloudwifizone.com
HTTPPort 80
SSLAvailable yes
Path /
}
HTTPDMaxConn 253
ClientTimeout 10
PopularServers kernel.org,ieee.org,cloudwifizone.com,ask.com
FirewallRuleSet global {
}
FirewallRuleSet validating-users {
FirewallRule allow to 0.0.0.0/0
}
FirewallRuleSet known-users {
FirewallRule allow to 0.0.0.0/0
}
FirewallRuleSet unknown-users {
FirewallRule allow udp port 53
FirewallRule allow tcp port 53
FirewallRule allow udp port 67
FirewallRule allow tcp port 67
FirewallRule block udp port 8000
}
FirewallRuleSet locked-users {
FirewallRule block to 0.0.0.0/0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants