1FIREWALLD.ZONES(5) firewalld.zones FIREWALLD.ZONES(5)
2
3
4
6 firewalld.zones - firewalld zones
7
9 What is a zone?
10 A network zone defines the level of trust for network connections. This
11 is a one to many relation, which means that a connection can only be
12 part of one zone, but a zone can be used for many network connections.
13
14 The zone defines the firewall features that are enabled in this zone:
15
16 Predefined services
17 A service is a combination of port and/or protocol entries.
18 Optionally netfilter helper modules can be added and also a IPv4
19 and IPv6 destination address.
20
21 Ports and protocols
22 Definition of tcp or udp ports, where ports can be a single port or
23 a port range.
24
25 ICMP blocks
26 Blocks selected Internet Control Message Protocol (ICMP) messages.
27 These messages are either information requests or created as a
28 reply to information requests or in error conditions.
29
30 Masquerading
31 The addresses of a private network are mapped to and hidden behind
32 a public IP address. This is a form of address translation.
33
34 Forward ports
35 A forward port is either mapped to the same port on another host or
36 to another port on the same host or to another port on another
37 host.
38
39 Rich language rules
40 The rich language extends the elements (service, port, icmp-block,
41 masquerade, forward-port and source-port) with additional source
42 and destination addresses, logging, actions and limits for logs and
43 actions. It can also be used for host or network white and black
44 listing (for more information, please have a look at
45 firewalld.richlanguage(5)).
46
47 For more information on the zone file format, please have a look at
48 firewalld.zone(5).
49
50 Which zones are available?
51 Here are the zones provided by firewalld sorted according to the
52 default trust level of the zones from untrusted to trusted:
53
54 drop
55 Any incoming network packets are dropped, there is no reply. Only
56 outgoing network connections are possible.
57
58 block
59 Any incoming network connections are rejected with an
60 icmp-host-prohibited message for IPv4 and icmp6-adm-prohibited for
61 IPv6. Only network connections initiated within this system are
62 possible.
63
64 public
65 For use in public areas. You do not trust the other computers on
66 networks to not harm your computer. Only selected incoming
67 connections are accepted.
68
69 external
70 For use on external networks with masquerading enabled especially
71 for routers. You do not trust the other computers on networks to
72 not harm your computer. Only selected incoming connections are
73 accepted.
74
75 dmz
76 For computers in your demilitarized zone that are
77 publicly-accessible with limited access to your internal network.
78 Only selected incoming connections are accepted.
79
80 work
81 For use in work areas. You mostly trust the other computers on
82 networks to not harm your computer. Only selected incoming
83 connections are accepted.
84
85 home
86 For use in home areas. You mostly trust the other computers on
87 networks to not harm your computer. Only selected incoming
88 connections are accepted.
89
9