mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Update docs iptables.py (#41245)
* Update iptables.py added to documentation the required variable 'protocol' for variable destination_port. * Update iptables.py
This commit is contained in:
parent
e635dc6969
commit
9d3b479faf
1 changed files with 3 additions and 1 deletions
|
@ -178,11 +178,13 @@ options:
|
||||||
greater than the second one they will be swapped.
|
greater than the second one they will be swapped.
|
||||||
destination_port:
|
destination_port:
|
||||||
description:
|
description:
|
||||||
- Destination port or port range specification. This can either be
|
- "Destination port or port range specification. This can either be
|
||||||
a service name or a port number. An inclusive range can also be
|
a service name or a port number. An inclusive range can also be
|
||||||
specified, using the format first:last. If the first port is omitted,
|
specified, using the format first:last. If the first port is omitted,
|
||||||
'0' is assumed; if the last is omitted, '65535' is assumed. If the
|
'0' is assumed; if the last is omitted, '65535' is assumed. If the
|
||||||
first port is greater than the second one they will be swapped.
|
first port is greater than the second one they will be swapped.
|
||||||
|
This is only valid if the rule also specifies one of the following
|
||||||
|
protocols: tcp, udp, dccp or sctp."
|
||||||
to_ports:
|
to_ports:
|
||||||
description:
|
description:
|
||||||
- "This specifies a destination port or range of ports to use: without
|
- "This specifies a destination port or range of ports to use: without
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue