iptables-init
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