State to check firewall configurations
New in version 2016.3.0.
salt.states.firewall.
check
(name, port=None, **kwargs)¶Checks if there is an open connection from the minion to the defined host on a specific port.
host name or ip address to test connection to
The port to test the connection on
proto (tcp or udp) family (ipv4 or ipv6) timeout
testgoogle:
firewall.check:
- name: 'google.com'
- port: 80
- proto: 'tcp'
Generated on October 03, 2023 at 04:07:20 UTC.
You are viewing docs for the previous stable release, 3005.3. Switch to docs for the latest stable release, 3006.3, or to a recent doc build from the master branch.
© 2023 VMware, Inc. | Privacy Policy