[HELP] with firewall script

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
JustLikeMe
Posts: 91
Joined: Fri Feb 05, 2010 8:12 pm

[HELP] with firewall script

Post 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
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: [HELP] with firewall script

Post by nonom »

Copy and past over the command line. Be sure what is doing each line before execute it.
Image
"There are three kinds of people in this world, those who can count and those who can't"
JustLikeMe
Posts: 91
Joined: Fri Feb 05, 2010 8:12 pm

Re: [HELP] with firewall script

Post 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
JustLikeMe
Posts: 91
Joined: Fri Feb 05, 2010 8:12 pm

Re: [HELP] with firewall script

Post by JustLikeMe »

Bump. any1?
Post Reply