From bf931d4f660af978eef8652ad275fcb7bab0e749 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 13 Mar 2012 17:26:07 -0400 Subject: Add support for firewalld zones. (#802415, from ) ZONE in an ifcfg file describes the zone an interface should belong to. Zones can be configured in the firewalld configuration file. When interfaces are brought up, tell firewalld, if running, to add them to the proper zone. Similarly, remove them when they're brought down. Modified from a patch from Jiri Popelka. --- sysconfig.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysconfig.txt') diff --git a/sysconfig.txt b/sysconfig.txt index 3e135d3f..a64bb59b 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -606,6 +606,10 @@ Files in /etc/sysconfig/network-scripts/ NM_CONTROLLED=yes|no If set to 'no', NetworkManager will ignore this connection/device. Defaults to 'yes'. + ZONE= + Network zone (trust level) of this connection. + If not set, default zone (specified in /etc/firewalld/firewalld.conf) + is used. To see all available zones, run 'firewall-cmd --get-zones'. For dynamic addressing (BOOTPROTO=dhcp) only DEVICE needs to be set; all the rest will be determined by the boot protocol. -- cgit v1.2.1