configurations-ansible/roles/iptables-basic
..
defaults
handlers
meta
tasks
tests
vars
.travis.yml
README.md

iptables-basic

This role setup iptables with good defaults

Requirements

.

Role Variables

  • iptables_basic_enabled (boolean): Enable or disable iptable setup
  • iptables_basic_reset_enabled (boolean): Enable or disable iptables flush
  • iptables_basic_drop_unencrypted_smtp_port (boolean): If true drop the standard SMTP port (25)

Dependencies

.

Example Playbook

ansible-playbook -i inventory/example.yml handbook.yml --extra-vars="target=your_target" --tags firewall

License

GPLv3

Author Information