alquerci / iptables-init

Bash script for auto-restore iptables rules -- Deprecated use iptables-persistent instead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iptables-init

Build Status

An useful bash script for auto-restore iptables rules.

Requirements

  • GNU core utilities
  • iptables
  • git
  • make
  • shunit2

Build

$ make

Tests

$ make test

Installation

The installation must running into a root account.

$ sudo make install

It's also possible to uninstall it by running.

$ sudo make uninstall

Files

/var/backups/iptables.rules: Path used to save rules.

TODO

  • Add missing tests and do better tests
  • Makefile/install Do better usage of update-rc.d

About

Bash script for auto-restore iptables rules -- Deprecated use iptables-persistent instead

License:Other


Languages

Language:C++ 54.5%Language:Shell 45.5%