ufw: allow gre and igmp protocols (#51166)

* ufw: allow gre and igmp protocols.

* Add changelog.
pull/52028/head
Felix Fontein 6 years ago committed by John R Barker
parent 95557077b6
commit a279892fae

@ -0,0 +1,2 @@
minor_changes:
- "ufw - ``proto`` can now also be ``gre`` and ``igmp``."

@ -81,7 +81,7 @@ options:
proto:
description:
- TCP/IP protocol.
choices: [ any, tcp, udp, ipv6, esp, ah ]
choices: [ any, tcp, udp, ipv6, esp, ah, gre, igmp ]
name:
description:
- Use profile located in C(/etc/ufw/applications.d).
@ -255,7 +255,7 @@ def main():
from_port=dict(type='str'),
to_ip=dict(type='str', default='any', aliases=['dest', 'to']),
to_port=dict(type='str', aliases=['port']),
proto=dict(type='str', aliases=['protocol'], choices=['ah', 'any', 'esp', 'ipv6', 'tcp', 'udp']),
proto=dict(type='str', aliases=['protocol'], choices=['ah', 'any', 'esp', 'ipv6', 'tcp', 'udp', 'gre', 'igmp']),
app=dict(type='str', aliases=['name']),
comment=dict(type='str'),
),

Loading…
Cancel
Save