iptables & httpd
Has anyone setup any type of perl script for web configuration of iptables. Everything I try errors out, I think its a permission thing but when I run the scripts by command line with the -c option it states the sintax is ok.
If anyone has any info it would be greatly appreciated. Thanks Larry |
What exactly are you wanting to do, or what doesn't work?
|
Exec
I was trying to execute a command from a perl script, like
system ("/sbin/iptables -F FORWARD)"; somthing like that. I would like to run a few other things but thats the main problem I'm having. Thanks Larry |
Syntax
Sorry the command should be:
system ("/sbin/iptables -F FORWARD"); not system ("/sbin/iptables -F FORWARD)"; Thanks Larry |
Shall I move this thread into the 'Programming' Forum where the Perl guys live?
|
Perl
Yes please,
Sorry I poseted it here! Thanks Larry |
Don't worry,
just thought we would hit the boffins directly... :) Moderator Note... MOVED TO PROGRAMMING FORUM |
All times are GMT -5. The time now is 01:10 PM. |