LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need Help In Building a Web-based Firewall Configuration Tool for Linux(RH9-iptables) (https://www.linuxquestions.org/questions/linux-general-1/need-help-in-building-a-web-based-firewall-configuration-tool-for-linux-rh9-iptables-140267/)

eason 01-30-2004 02:38 AM

Need Help In Building a Web-based Firewall Configuration Tool for Linux(RH9-iptables)
 
Hi All,

I'm working on building up a web-based firewall configuration tool for RedHat 9(using iptables) that will enable user to configure Linux firewall( as the default gateway for an internal network). I've created some web forms to manipulate user inputs. Is anyone know how to pass user's inputs back to the Linux server so that the rules for iptables will based on user's options?

Besides, I've grabbed user's options from the web form and inserted a string of command in a text file, eg: iptables -L -v --line-numbers . This string of command is saved in a file named "testing.txt". How can I execute this text file so that the rules in iptables will be shown in the webpage according to user's options?
ANy help would be great! :confused:

lusr 02-21-2004 05:34 PM

Are you using server-side language PHP or client-side language JavaScript to generate the testing.txt? How does your code look like?


All times are GMT -5. The time now is 05:41 PM.