FIREWALLD.POLICY(5) firewalld.policy FIREWALLD.POLICY(5)
>>> (NAME)
firewalld.policy - >>>>>>>>>>
>>>>>>>> >>>>> firewalld
>>>>> >>>>> (SYNOPSIS)
/etc/firewalld/policies/policy.xml
/usr/lib/firewalld/policies/policy.xml
>>>>>>> (DESCRIPTION)
>> >>>>>> >>>>>>>> >>>>>
firewalld >>>> >>>>>>> >>>>> >>
>> >>>>> (policy) >>>. >>> >>>>>
>>>> >>>>>>> >>>>>>
>>>>>>>>> >>>>>>>>>
>>>>>>>>>> icmp-block>>>
>>>>>>>>> >>>>> (masquerade)>
>>>>>>> >>>>>>>> (forward-ports) >
>>>>> >>>> >>>>>>> (rich language
rules) >> >>>> >> >>>>>> XML >>>.
>>> >>>>>> >>>> policy_name.xml >>>>
>> >> >> >>> policy_name >> >>>
>>>> >> >> >>>>> >>>>> >>>
>>>.
>>>>>> >> >>>>>> >>>>>>>>
>>>>> >> >>> >>> >>>:
[ ]
[ ]
[ ]
[ short description ]
[ description ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[
[ ]
[ ]
[
|
|
|
|
|
|
]
[
[] |
[]
]
[ [] ]
[
[] |
[] |
[] |
[]
]
]
>>>>>>>> >>>>>>>> >>>>
>>> >>>>>>>> > >>>>>>>>
>>>>. >>>> >> >>>>> >>>>>>
> >>>> >>>> >>>>>>> >>>>>.
policy
>>>>> >>>>>> > >>>>>>
>>>>>> policy >>>>> >> >>>>>
>>>>>>. >>> >>>>> >>>>
>>>>>> >>>>>>>> >> >>
>>>>>> >>>>>>>> >>>>>
>>>>>>> >>>. >>>>>>>>>
>>>>>>> >>>> policy >>>>>>> >>:
version="string"
>>>> >>>>> >>>>> >>>>>.
target="CONTINUE|ACCEPT|REJECT|DROP"
>>>>>>>> >>>> >>>>> (accept)>
>> >>>> (reject) >> >>>>>>> (drop)
>> >>>>>>> >> >> >>>
>>>>>>>> (>>>>>> >>>>> >
>>>>) >>>>> >>>>> >>>>>>>
>>>. >>>>> CONTINUE >>>>>>> >>>
> >>>> >>>>>>>>>> >>
>>>>>>>>>> >>>>>> (non-terminal)
>>>>>>> >>>>>>.
disable
>> >>>>> >>>> >>>> >>>>>>>
>>>. >>> >>>>> >>>> >>>>>>
>>>>>>>> >>>>>>> >>>. >>
>>>> >>>>> >>>>> >>>>>>>
>>> > >>>>> >>>>>> >>.
ingress-zone
>> >>>> >>>>>>> >>
>>>>>>>> >>>>> >>>
>>>>>>> >>>. >>> >>>>
>>>>>>>> >>> >> >>>>> (zone) >>
firewalld >> >>> >> >>>>> >>>>>>
HOST >> ANY >>>>. >>>> >>>>>>>
>>>>> >> >>>> >>>>>
>>>>>>> firewalld.policies(5) >> >>>>>>.
egress-zone
>> >>>> >>>>>>> >>
>>>>>>>> >>>>> >>>
>>>>>>> >>>. >>> >>>>
>>>>>>>> >>> >> >>>>> (zone) >>
firewalld >> >>> >> >>>>> >>>>>>
HOST >> ANY >>>>. >>>> >>>>>>>
>>>>> >> >>>> >>>>>
>>>>>>> firewalld.policies(5) >> >>>>>>.
short
>> >>>>> >>>>>>> >>>>>> >
>>>>>> >>> > >>>> >>>>> >>
>>> >>>>>>> >> >>> >>>>>>.
description
>> >>>>> >>>>>>> >>>>>> >
>>>>>> >>> > >>>> >>>
>>>>>>> >> >>> >>>>>>.
service
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>>>>>> >>> >> >>
>>>> >>>>> >>>>>>> >>>. >>
>>>> >>>>> >>>>>> >> >>>>>
>>>>:
name="string"
>>> >>>>>> >> >>>> >>>>
>>>. >>>> >>>>>> >>>>>>
>> >>>>>>> >>>>>
>>>>>>>> >>>>>>> >>
>>>>> firewall-cmd --get-services >>>>>>>
>>>.
port
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>> >>> >> >> >>>>
>>>>> >>>>>>> >>>. >>>>
>>>>>>>>> >> >>>> >>>>>
>>>>>> >>>>>:
port="portid[-portid]"
>>>>> >>>>>>>> >> >>>>>
>>>>> >>> portid >> >> >>>>>>
>>>>> portid-portid >>>>.
protocol="tcp|udp|sctp|dccp"
>>>>>> >>>>>>>> >>> >>
>>>>> tcp> udp> sctp >> dccp >>>>.
protocol
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>> >>> >> >> >>>>
>>>>>> >>>>>>> >>>. >>
>>>>>> >>>>>> >> >>>>>
>>>>:
value="string"
>>>>>> >>>>>>>> >>
>>>>>>> >>>> >> >>>>
>>>>> >>>>>>>> >>>>>>.
>>>>> >>>> >>>>>>>>>>
>>>>>>>>>>>> >> /etc/protocols
>>>>> >>>>>>>>.
icmp-block
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>> >>> >> >> >>>>
icmp-block >>>>>>> >>>. >> >>>>>
icmp-block >>>>>> >> >>>>> >>>>>>
>>>>:
name="string"
>>> >>> >>>>>> >>>> >>>>>
>>>>>>> (ICMP) >> >>>> >>>>>
>>>. >>>> >>>>>> >>>>>>
>> >>>>> >>>>> ICMP >>>>>>>
>> >>>>> firewall-cmd --get-icmptypes
>>>>>>> >>>.
masquerade
>> >>>>> >>>> >>>> >>>>>>>
>>>. >>> >>>>> >>>> >>>>>>
>>>>>>>> >>>>>>> >>>. >>
>>>> >>>>> >>>>>>>>>
>>>>> (masquerading) >>>> >>>>>>.
forward-port
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>> >>> >> >> >>>>
>>>>>>>>>> (>>>>>>>) >>>>>
>> >>>> >>>>>>> >>>.
>>>>>>>>> >>>>>> > >>>>>>
>>>>>>> >>>> forward-port >>>>
>>>>>:
>>>>>>>>> >>>>>>:
>>>>> > >>>>>> >>>> >>
>>>> >>>>>>> >>>>.
port="portid[-portid]"
>>>>> >>>>>>>> >> >>>>>
>>>>> >>> portid >> >>
>>>>>> >>>>> portid-portid >>>>.
protocol="tcp|udp|sctp|dccp"
>>>>>> >>>>>>>> >>> >>
>>>>> tcp> udp> sctp >> dccp >>>>.
>>>>>>>>> >>>>>>>:
>>>> >>>>>>>. >>>>
>>>>>>> >>>> >>>> to-port >>
>>>>> >>>>. >>>> >>>>>>>
>> >>> >>> to-addr >> >>>>>
>>>> > >> >>>>> >> >>>>>
>>>> >> >>>>>> >>>>
>>>>>> >>>>> >> >>>>
>>>>>>> >> to-port >>>>>>>
>>>>.
to-port="portid[-portid]"
>>>>> >>>> >> >>>>>>
>>>>> >>>> >>>> >>>>>>>
>> >>. >> >>>> >>>> >>>>>
>>>>> port= >> >>>>> >>>>>
to-addr >>>>>>> >>>>> >>.
to-addr="address"
>>>>> IP >>>> >>>> IPv4 >> IPv6.
source-port
>> >>>>> >>>> >>>> >>>>>>>
>>> > >>>>>>>> >>>>> >>>
>>>> >>>>> >>> >> >> >>>>
>>>>> >>>> >>>>>>> >>>.
>>>> >>>>>>>>> >> >>>>
>>>>> >>>> >>>>>> >>>>>:
port="portid[-portid]"
>>>>> >>>>>>>> >> >>>>>
>>>>> >>> portid >> >> >>>>>>
>>>>> portid-portid >>>>.
protocol="tcp|udp|sctp|dccp"
>>>>>> >>>>>>>> >>> >>
>>>>> tcp> udp> sctp >> dccp >>>>.
rule
>> >>>>> >>>> >>>>>>> >>> >
>>>>>>>> >>>>> >>> >>>>
>>>>> >>> >> >> >>>> >>>>>
>>>> >>>>>>> (rich language)
>>>>>>> >>>.
>>>>>> >>> >>>>>:
[ ]
[ ]
[
|
|
|
|
|
|
|
|
]
[
[] |
[]
]
[ [] ]
[
[] |
[] |
[] |
[]
]
>>>>>> >>>>> >>>> >>>>>
>>>> >> >>>> >>>>:
[
[] |
[]
]
[ [] ]
[] |
[] |
[]
>>>> >>>>>>> >>>> >>>>>>
>>>>> >>>> >>>>>>>> >>>>>
>> firewalld.richlanguage(5) >>>>>> >>>>.
>>>>>> >>>>>> (SEE ALSO)
firewall-applet(1), firewalld(1), firewall-cmd(1), firewall-config(1),
firewalld.conf(5), firewalld.direct(5), firewalld.dbus(5),
firewalld.icmptype(5), firewall-offline-cmd(1),
firewalld.richlanguage(5), firewalld.service(5), firewalld.zone(5),
firewalld.zones(5), firewalld.policy(5), firewalld.policies(5),
firewalld.ipset(5), firewalld.helper(5)
>>>>>>>>>> (NOTES)
>>>> >>>>> firewalld:
http://firewalld.org
>>>>>>>>> (AUTHORS)
Thomas Woerner
>>>>>>>>>>>
Jiri Popelka
>>>>>>>>>>>
Eric Garver
>>>>>>>>>>>
firewalld 2.5.1 FIREWALLD.POLICY(5)