ansible-base/roles/client_iptables
Nemo 30e5147587 Add UDP ports in iptables role and update README role 2020-07-11 14:59:52 +02:00
..
defaults Add UDP port for iptables 2020-07-10 17:03:20 +02:00
handlers Update iptables roles, including iptables-persistence 2020-07-11 12:13:33 +02:00
meta Add UDP ports in iptables role and update README role 2020-07-11 14:59:52 +02:00
tasks Add UDP ports in iptables role and update README role 2020-07-11 14:59:52 +02:00
README.md Add UDP ports in iptables role and update README role 2020-07-11 14:59:52 +02:00

README.md

Ansible Role: client iptables

This role defines iptables rules for a GNU/Linux server (but NOT for routers).

Requirements

WARNING : do not apply this role on routers !!!

This role assumes you have a clean iptables configuration on your host (else, you may need to flush the current rules).

Role Variables

All variables and default values are defined in defaults/main.yml :

# All authorized TCP ports
tcp_authorized_ports:
  - 22

# All authorized UDP ports
udp_authorized_ports: []

# All incoming authorized IP
ip_authorized: []

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - client_iptables

License

BSD

Author Information

This role was created in 2020 by Nemo.