This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Firewall macro compiler

Project Description

Description

fwmacro is a library for generating iptables/ip6tables rules and to generate input files for iptables-restore and ip6tables-restore.

The library comes with two scripts: fwmpp and fwmc

The fwmpp command processes the simplified rules to a set of ip[6]tables rules and fwmc compiles a set of ip[6]tables rules to a ip[6]tables-restore file.

Usage

Typical setup/usage will be:

  • Create files with default chain sets in /etc/fwmacro/chains[4|6]/
  • Create a file with simplified rules in /etc/fwmacro/fw.rules
  • Compile these with: fwmpp /etc/fwmacro/fw.rules
  • Build restore files with: fwmc
  • Install iptables rules with: iptables-restore /etc/fwmacro/ipv4.rules
  • Install ip6tables rules with: ip6tables-restore /etc/fwmacro/ipv6.rules
Release History

Release History

This version
History Node

0.9.6

History Node

0.9.4

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fwmacro-0.9.6-py2.7.egg (39.9 kB) Copy SHA256 Checksum SHA256 2.7 Egg Nov 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting