match all private addresses in one rule
Hello netfilter folks!
Is there a way to match all private addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) in only one rules? I think of something like
$ iptables -A INPUT -s private -j ACCEPT
I've googled for a solution, but couldn't find one yet.
Please cc as I'm not subscribed to the list.
Signature · 2 lines
Regards, Christian