match all private addresses in one rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-- 
Regards,
Christian

Attachment: pgp5zntVwFV3a.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux