1FIREWALLD.CONF(5) firewalld.conf FIREWALLD.CONF(5)
2
3
4
6 firewalld.conf - firewalld configuration file
7
9 /etc/firewalld/firewalld.conf
10
11
12
14 firewalld.conf is loaded by firewalld during the initialization
15 process. The file contains the basic configuration options for
16 firewalld.
17
19 These are the options that can be set in the config file:
20
21 DefaultZone
22 This sets the default zone for connections or interfaces if the
23 zone is not selected or specified by NetworkManager, initscripts or
24 command line tool. The default zone is public.
25
26 MinimalMark
27 Deprecated. This option is ignored and no longer used. Marks are no
28 longer used internally.
29
30 CleanupOnExit
31 If firewalld stops, it cleans up all firewall rules. Setting this
32 option to no or false leaves the current firewall rules untouched.
33 The default value is yes or true.
34
35 Lockdown
36 If this option is enabled, firewall changes with the D-Bus
37 interface will be limited to applications that are listed in the
38 lockdown whitelist (see firewalld.lockdown-whitelist(5)). The
39 default value is no or false.
40
41 IPv6_rpfilter
42 If this option is enabled (it is by default), reverse path filter
43 test on a packet for IPv6 is performed. If a reply to the packet
44 would be sent via the same interface that the packet arrived on,
45 the packet will match and be accepted, otherwise dropped. For IPv4
46 the rp_filter is controlled using sysctl.
47
48 IndividualCalls
49 If this option is disabled (it is by default), combined -restore
50 calls are used and not individual calls to apply changes to the
51 firewall. The use of individiual calls increases the time that is
52 needed to apply changes and to start the daemon, but is good for
53 debugging as error messages are more specific.
54
55 LogDenied
56 Add logging rules right before reject and drop rules in the INPUT,
57 FORWARD and OUTPUT chains for the default rules and also final
58 reject and drop rules in zones for the configured link-layer packet
59 type. The possible values are: all, unicast, broadcast, multicast
60 and off. The default setting is off, which disables the logging.
61
62 AutomaticHelpers
63 For the secure use of iptables and connection tracking helpers it
64 is recommended to turn AutomaticHelpers off. But this might have
65 side effects on other services using the netfilter helpers as the
66 sysctl setting in /proc/sys/net/netfilter/nf_conntrack_helper will
67 be changed. With the system setting, the default value set in the
68 kernel or with sysctl will be used. Possible values are: yes, no
69 and system. The default setting is system.
70
71 FirewallBackend
72 Selects the firewall backend implementation. Possible values are;
73 nftables (default), or iptables. This applies to all firewalld
74 primitives. The only exception is direct and passthrough rules
75 which always use the traditional iptables, ip6tables, and ebtables
76 backends.
77
78 FlushAllOnReload
79 Flush all runtime rules on a reload. In previous releases some
80 runtime configuration was retained during a reload, namely;
81 interface to zone assignment, and direct rules. This was confusing
82 to users. To get the old behavior set this to "no". Defaults to
83 "yes".
84
85 RFC3964_IPv4
86 As per RFC 3964, filter IPv6 traffic with 6to4 destination
87 addresses that correspond to IPv4 addresses that should not be
88 routed over the public internet. Defaults to "yes".
89
91 firewall-applet(1), firewalld(1), firewall-cmd(1), firewall-config(1),
92 firewalld.conf(5), firewalld.direct(5), firewalld.dbus(5),
93 firewalld.icmptype(5), firewalld.lockdown-whitelist(5), firewall-
94 offline-cmd(1), firewalld.richlanguage(5), firewalld.service(5),
95 firewalld.zone(5), firewalld.zones(5), firewalld.ipset(5),
96 firewalld.helper(5)
97
99 firewalld home page:
100 http://firewalld.org
101
102 More documentation with examples:
103 http://fedoraproject.org/wiki/FirewallD
104
106 Thomas Woerner <twoerner@redhat.com>
107 Developer
108
109 Jiri Popelka <jpopelka@redhat.com>
110 Developer
111
112
113
114firewalld 0.7.2 FIREWALLD.CONF(5)