[CentOS] Firewalld zone conflict

Colin Coles colin at wemoto.com
Fri Dec 4 15:11:03 UTC 2015


On 04/12/15 15:01, James Hogarth wrote:
>>  In CentOS7 I have added two zones using firewall-cmd, each for
>> different ports/services and interfaces when I try to --add-source to
>> the second zone with an IP that is already in the first I am getting an
>> 'Error: ZONE_CONFLICT' message. Am I trying to do something illogical or
>> is this a feature?
>>
>>
>>
> By design a source network can only belong to a single zone...
> 
> You'll have to create N zones to cover each network and add the service to
> each...
> 
>  You may be interested in reading https://www.hogarthuk.com/?q=node/9 if
> you are doing some firewalld stuff.

OK thanks, I see the error of my reasoning now.


Colin.



More information about the CentOS mailing list