Try googling for "iptables php script"
e.g.
http://sourceforge.net/projects/phpfwgen/
http://easyfwgen.morizot.net/gen/
also
http://www.gege.org/iptables/doc/faq.html

You can try similar for other scripting languages (python, ruby, perl (ugh)), I'd think.

Chuck Amadi wrote:
Hi Does anyone on the list

Distro OpenSuSE, Apache2 and use cgi and not perl cgi.

Know a good mailing list to create cgi script without perl.

I have a task to pull data from our iptables file into a editable html thus able to make modifications
and click on a button to restart iptables.

I have got a dirty hack that restarts the iptables But my boss would like a editable html form.

PS I have been looking at open function But having no joy.

# now write (append) to the file
open(INF,"firewall"); # opens firewall file for reading located in the cgi-bin dir.


Any suggestions or url's to anything similiar would be of great help.

Ta


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to