ryanlelek.firewall
Firewall
Firewall Whitelist Using IPTables
Requirements
None
Role Variables
Default settings:
---
tcp_in:
- 22
tcp_out:
- 22
- 80
- 443
udp_in:
udp_out:
restricted:
Dependencies
None
Example Playbook
- hosts: all
roles:
- role: ryanlelek.firewall
tcp_in:
- 80
- 443
tcp_out:
- 22
- 80
- 443
# Git
- 9418
udp_in:
udp_out:
# Syslog / Papertrail
- 32507
restricted:
- protocol: tcp
port: 22
ip: [YOUR IP ADDRESS OR RANGE HERE]
License
MIT
Author Information
Created by Ryan Lelek
Part of AnsibleTutorials.com
Informazioni sul progetto
Firewall whitelist using IPTables
Installa
ansible-galaxy install ryanlelek.firewall
Licenza
mit
Download
778
Proprietario