]> git.proxmox.com Git - pve-firewall.git/blame - example/cluster.fw
move host policy setting to cluster.fw
[pve-firewall.git] / example / cluster.fw
CommitLineData
c4a2e5ae
DM
1[OPTIONS]
2
3enable: 1
4
63324b09
DM
5# default policy for host rules
6policy_in: DROP
7policy_out: ACCEPT
8
c4a2e5ae
DM
9[RULES]
10
11IN SSH(ACCEPT) vmbr0
12
92e976b3
DM
13[group group1]
14
15IN ACCEPT - - tcp 22 -
16OUT ACCEPT - - tcp 80 -
17OUT ACCEPT - - icmp - -
18
19[group group3]
20
21IN ACCEPT 10.0.0.1
ba791b1f
AD
22IN ACCEPT 10.0.0.1-10.0.0.10
23IN ACCEPT 10.0.0.1,10.0.0.2,10.0.0.3
24IN ACCEPT +mynetgroup
92e976b3 25
34cdedfa 26
936af352 27[ipset myipset]
34cdedfa 28
2a052ee3
AD
29192.168.0.1 #mycomment
30172.16.0.10
34cdedfa 31192.168.0.0/24
cbb5d6f3 32! 10.0.0.0/8 #nomatch - needs kernel 3.7 or newer
34cdedfa 33