How to configure firewall rules through a website

Clemens clemens.schaefer at
Wed Nov 8 23:33:13 CET 2006

> I've just been introduced to netfilter. I would like to know if it is
> possible to configure the firewall rules from a text file that is
> written to by some script attached to a website. I am trying to
> configure a firewall on Snapgear linux which is hosting a website which
> is supposed to alllow a user to enter configuration rules. I hope to
> save these to a text file from which i would like the netfilter program
> to read from. Is this possible. I only have a week to get this done, so
> any help is greatly appreciated.

iptables-restore and iptables-save is exactly what you want :)

greets, clemens

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : /pipermail/netfilter/attachments/20061109/954465df/signature-0001.pgp

More information about the netfilter mailing list