PHP firewall generatorThe PHP Firewall Generator is a simple PHP script that generates a firewall script for iptables or ipchains based firewalls. | |
Download |
PHP firewall generator Ranking & Summary
Advertisement
PHP firewall generator Tags
PHP firewall generator Description
The PHP Firewall Generator is a simple PHP script that generates a firewall script for iptables or ipchains based firewalls. 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.1Run this as root:make installIf you don't have make installed on your system, then you could just run: installmeMake 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 Related Software