PHP firewall generator 2.0 review

Download
by rbytes.net on

The PHP Firewall Generator is a simple PHP script that generates a firewall script for iptables or ipchains based firewalls

License: GPL (GNU General Public License)
File size: 0K
Developer: Del
0 stars award from rbytes.net

The PHP Firewall Generator is a simple PHP script that generates a firewall script for iptables or ipchains based firewalls. The script is created based on configuration rules entered by the user. The aim is to support a rule set similar to those supported by commercial Firewall systems, and make it easy to configure.

Make sure that you have apache and PHP installed (tested with apache-1.3.19-5 and php-4.0.4 from Red Hat 7.1 but shouldwork with others).

Make sure that PHP is actually running.
Make sure that you have iptables installed. Tested with iptables-1.2.1a-1 from Red Hat 7.1
Run this as root:
make install
If you don't have make installed on your system, then you could just run:
installme
Make sure that the files in /var/www/html/phpfwgen/ are readable by the HTTP daemon user (often httpd or apache) and that the files in /var/lib/phpfwgen are readable AND writeable by this user.
The script gets copied into /var/www/html/phpfwgen/ so you should be able to access it as http:///phpfwgen/
Make sure that the files created in /var/lib/phpfwgen make sense, particularly the "interfaces" file.

PHP firewall generator 2.0 search tags