Page 1 of 1

[HELP] with firewall script

Posted: Sat Jun 19, 2010 5:09 pm
by JustLikeMe
Hello,

I don't know if this is the right place for this post, if its wrong I'm sorry feel free to move it.

I've found a firewall script from the old l2jserver forum that secures a bit linux based systems.
The problem is i don't know how to make it executable and execute it. The code is here http://pastebin.com/f4afee5c9 .

Thanks in advance

Re: [HELP] with firewall script

Posted: Sat Jun 19, 2010 5:19 pm
by nonom
Copy and past over the command line. Be sure what is doing each line before execute it.

Re: [HELP] with firewall script

Posted: Sat Jun 19, 2010 5:27 pm
by JustLikeMe
already tried i get errors:

FATAL: Error inserting ip_tables (/lib/modules/2.6.32-21-generic/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.

Edit: also tried with sudo to have access

Re: [HELP] with firewall script

Posted: Sun Jun 20, 2010 12:29 am
by JustLikeMe
Bump. any1?