8000 GitHub - keesbos/fwmacro: Automatically exported from code.google.com/p/fwmacro
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

keesbos/fwmacro

Repository files navigation

fwmacro

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

About

Automatically exported from code.google.com/p/fwmacro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0