Iptables "-m state --state" error

Hello community,
I tried this command which contains "-m state --state" :

root@OpenWrt:~# iptables -A INPUT -i eth1.2 --protocol tcp --source-port 80 -m state --state ESTABLISHED -j ACCEPT

And I have this error :

iptables v1.6.2: Couldn't load match `state':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

My configuration :

Hostname : OpenWrt
Model : Linksys WRT3200ACM 
Architecture : ARMv7 Processor rev 1 (v7l)
Firmware Version : OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d) 
Kernel Version : 4.14.95

I have updated "opkg" and it's woking on my kubuntu 18.06.2

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.