What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

iptables --match-set not available in 378.56_2 for N66U

calculon

Occasional Visitor
Hey,

I was reading and implementing this (https://github.com/RMerl/asuswrt-merlin/wiki/Using-ipset) and noticed that when you actually use the iptables command with the --match-set flag, the command does not process because the --match-set flag is invalid or isn't implemented in the firmware.

My firmware is: 378.56_2 / ASUSWRT-Merlin RT-N66U_3.0.0.4 Wed Nov 4 02:03:42 UTC 2015
http://10.10.10.1/Advanced_FirmwareUpgrade_Content.asp
An example of the issue:
Code:
knight:/tmp/home/root# iptables -I FORWARD -m set --match-set MicrosoftSpyServers dst -j DROP
iptables v1.3.8: Unknown arg `--match-set'
Try `iptables -h' or 'iptables --help' for more information.

This same command would work perfectly fine on my linux box, so I am wondering if there is something wrong (or missing) with the implementation in merlin-wrt.
 
For mipsel routers use: -m set --set

iptables -I FORWARD -m set --set MicrosoftSpyServers dst -j DROP
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top