Skip to main content

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fwmacro-0.9.6-py2.7.egg (39.9 kB view details)

Uploaded Egg

File details

Details for the file fwmacro-0.9.6-py2.7.egg.

File metadata

  • Download URL: fwmacro-0.9.6-py2.7.egg
  • Upload date:
  • Size: 39.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fwmacro-0.9.6-py2.7.egg
Algorithm Hash digest
SHA256 07ae7392e4dfbd26a273f2adfd26bbbb4d50428588d4c2bafc203ed3ee096d2f
MD5 5f6d8f6c71e3de74528b1d2622d83bb3
BLAKE2b-256 2f865722cb825203b467be24509c53d5e5e2519f1acb553b2af81e5a5d481c13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page