]> git.proxmox.com Git - pve-firewall.git/blobdiff - example/cluster.fw
ipset : use only netgroup
[pve-firewall.git] / example / cluster.fw
index fe283fcf94600c4cc1e36c4ab341e9c855f9a2cf..97f58cbda6f8c399b00860f337314eca8eef1415 100644 (file)
@@ -19,22 +19,10 @@ IN  ACCEPT 10.0.0.2
 IN  ACCEPT 10.0.0.2 
 
 
-#ipset hash:ip
-[ipgroup ipgroup1]
-
-192.168.0.1
-192.168.0.2
-192.168.0.3
-
-
-[ipgroup ipgroup2]
-
-192.168.0.3
-192.168.0.4
-
-#ipset hash:net
-[netgroup netgroup1]
+[netgroup mynetgroup]
 
+192.168.0.1 #mycomment
+172.16.0.10
 192.168.0.0/24
-10.0.0.0/8
+! 10.0.0.0/8  #nomatch