ferm is a wrapper around the iptables and the ip6tables commands which lets you manage host firewalls in an easy and Ansible-friendly way. This role can be used to setup firewall rules directly from the inventory, or it can be used as a dependency by other roles to setup firewall rules for other services.
debops.ferm - Manage iptables firewall using ferm Copyright (C) 2013-2017 Maciej Delmanowski <email@example.com> Copyright (C) 2015-2017 Robin Schneider <firstname.lastname@example.org> Copyright (C) 2016 Reto Gantenbein <email@example.com> Copyright (C) 2014-2017 DebOps https://debops.org/ This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.