erlang-iptables
erlang-iptables is a simple wrapper to iptables. Without using any
C libraries (libiptc, libxtables, ...). Just os:cmd("iptables ...").
No any extra dependencies except iptables package and erlang.
Installation
Compile
$ make compile
Tests
$ make test
Docs
$ make doc
Api
appendcheckdeleteinsertlistflushzerocreate_chaindelete_chainrename_chainpolicyis_installed
Examples
% append rule in the 'filter' table (default) and FILTER chain
iptables:append(input, "-i lo -j ACCEPT")).
%set default policy for chain
iptables:policy(input, drop).
LICENSE
MIT