maintainer: | Mostafa Hussein <mostafa.hussein91@gmail.com> |
---|---|
maturity: | new |
depends: | python-iptables |
platform: | Linux |
salt.modules.apf.
allow
(ip, port=None)Add host (IP/FQDN) to allow_hosts.rules and immediately load new rule into firewall CLI Example:
salt '*' apf.allow 127.0.0.1
salt.modules.apf.
deny
(ip)Add host (IP/FQDN) to deny_hosts.rules and immediately load new rule into firewall CLI Example:
salt '*' apf.deny 1.2.3.4
salt.modules.apf.
refresh
()Refresh & resolve dns names in trust rules CLI Example:
salt '*' apf.refresh
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy