LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables script question (https://www.linuxquestions.org/questions/linux-networking-3/iptables-script-question-38768/)

iceman47 12-18-2002 09:38 AM

iptables script question
 
I'm trying to set up a firewall box between my pc and the net.
Found a script that seems to do the job (http://www.linuxguruz.org/iptables/s...rewall_023.txt)
but (this may be a stupid question) what do I need to do with it?
Tried to run it, but I get error messages:
Code:

: command not found:
: command not found:
: command not found:
: command not found:
'firewall : line 71: syntax error near unexpected token 'in
'firewall : line 71: 'case "$1" in

I'd appreciate any help on this, first time I'm trying to set up a firewall box :)
It's RedHat 8.0 with 2.4.18 kernel on a intel p233 with 260megs RAM

iceman47 12-18-2002 10:39 AM

it's ok, was a script for a 2.3 kernel :)


All times are GMT -5. The time now is 11:01 AM.