Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 890 Bytes

README.md

File metadata and controls

49 lines (39 loc) · 890 Bytes

Firewall

Sets firewall for machines. It is very simple playbook, is does not define services in /etc/firewalld/services. Maybe later.

Example Playbook

- name: Firewalling machines
  hosts:
  - all
  roles:
  - { role: firewall }

- name: Firewalling Solr
  hosts: solr
  roles:
  - { role: firewall, open_port: [ 8983/tcp ] }

- name: Firewalling Fedora
  hosts: fedora
  roles:
  - { role: firewall, open_port: [ 18080/tcp ] }
  
- name: Firewalling server war
  hosts: war
  roles:
  
  - role: NLCR.firewall
    open_service:
    - http # nginx: seeder, wa_kat, sentry
    - https # nginx: seeder
    - mysql # wadmin
    open_port:
      - 8080/tcp # OpenWayback
      - 8891/tcp # Manet
      - 9000/tcp # Sentry
      - 10001/tcp # wa_kat:

License

BSD

Author Information

Rudolf Kreibich, https://github.com/westfood