LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2011, 02:30 PM   #1
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Rep: Reputation: 0
Firewall


Well I have apache and mysql set up and just thought about a fire wall, back in the day i used to use firestarter, I think that was about slackware 9. I am not very good at iptables though I do understand it is the way to go. If anyone knows an easy way to set up iptables (for dummies) or know of a good firewall for slackware 13.1, I would appreciate the help. I am sure after many hours of reading I could probably start to build some Iptables but I am just not secure enough in my abilites, currently.
I have done some research on the forums, but I want to make sure the information I am getting is up to date.

Thank you in advance to all helpful replies.

P.S. I really like the slackware community. It is one of the reasons I use it. Everyone here has no problems lending a hand to help out, those who have done their research.
 
Old 04-28-2011, 02:34 PM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
Give Alien Bob's firewall generator a try. ( a lot of good stuff on Eric's site! )

http://connie.slackware.com/~alien/efg/
 
Old 04-28-2011, 02:35 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,670

Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
Try using Alien Bob's firewall generator for slackware

http://connie.slackware.com/~alien/efg/

---------------
GazL Beat me to it, lol

Last edited by Daedra; 04-28-2011 at 02:36 PM.
 
Old 04-28-2011, 02:39 PM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
lol. close one there. Could have gone either way daedra.
 
Old 04-28-2011, 02:49 PM   #5
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Well I noticed that firewall generator, and just wanted to be sure, so of course I took the unanimous advice set up using the script copied the generated script, chmod +x firewall after naming my script firewall, then ran firewall. whoa errors comming out the yin yan.
perhaps it was my chmod ???
Code:
Loading kernel modules ...
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
WARNING: Error inserting nf_conntrack (/lib/modules/2.6.33.4-smp/kernel/net/netfilter/nf_conntrack.ko): Operation not permitted
FATAL: Error inserting nf_conntrack_ipv4 (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko): Operation not permitted
WARNING: Error inserting nf_conntrack_ftp (/lib/modules/2.6.33.4-smp/kernel/net/netfilter/nf_conntrack_ftp.ko): Operation not permitted
WARNING: Error inserting nf_defrag_ipv4 (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko): Operation not permitted
WARNING: Error inserting nf_conntrack_ipv4 (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko): Operation not permitted
WARNING: Error inserting nf_nat (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/nf_nat.ko): Operation not permitted
FATAL: Error inserting nf_nat_ftp (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/nf_nat_ftp.ko): Operation not permitted
FATAL: Error inserting nf_conntrack_ftp (/lib/modules/2.6.33.4-smp/kernel/net/netfilter/nf_conntrack_ftp.ko): Operation not permitted
FATAL: Error inserting nf_conntrack_irc (/lib/modules/2.6.33.4-smp/kernel/net/netfilter/nf_conntrack_irc.ko): Operation not permitted
error: permission denied on key 'net.ipv4.tcp_syncookies'
error: permission denied on key 'net.ipv4.conf.all.rp_filter'
error: permission denied on key 'net.ipv4.icmp_echo_ignore_broadcasts'
error: permission denied on key 'net.ipv4.conf.all.accept_source_route'
error: permission denied on key 'net.ipv4.conf.all.secure_redirects'
error: permission denied on key 'net.ipv4.conf.all.log_martians'
Flushing Tables ...
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `mangle': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `mangle': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `mangle': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `mangle': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
Create and populate custom rule chains ...
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
Process INPUT chain ...
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
Process FORWARD chain ...
Process OUTPUT chain ...
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
FATAL: Error inserting ip_tables (/lib/modules/2.6.33.4-smp/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
Load rules for nat table ...
Load rules for mangle table ...
bash-4.1$
 
Old 04-28-2011, 02:58 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,176

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by shao Lung View Post
bash-4.1$
You tried to start the firewall script as a non-root user?
 
Old 04-28-2011, 02:58 PM   #7
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Alright I redid the firewall script from the given site, renamed it, ran it as su,,, no errors,,, so fixed thanks everyone.
Lesson learned run firewall as su. lol
 
Old 04-28-2011, 03:05 PM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
If you put the script in /etc/rc.d/rc.firewall then it'll be run on every boot automatically for you.
 
Old 04-28-2011, 03:08 PM   #9
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GazL View Post
If you put the script in /etc/rc.d/rc.firewall then it'll be run on every boot automatically for you.
hot dang I was gonna build a script to run it. but that is even better. Much appreciated.
 
Old 04-28-2011, 07:25 PM   #10
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
You'll also need to make it executable... just sayin
 
Old 04-28-2011, 08:54 PM   #11
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
You'll also need to make it executable... just sayin
or reboot the machine ??
 
Old 04-29-2011, 07:44 PM   #12
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
I should explain a little better I think.

For the /etc/rc.d/rc.firewall script to be run at boot time it needs to be set executable or it will not be started.

Code:
chmod +x /etc/rc.d/rc.firewall
You can use that script to start it manually too (without the need to reboot) but a reboot is a good test to be sure it's working as expected.

Code:
iptables -vnL
will confirm that.
 
Old 04-29-2011, 07:55 PM   #13
Shao Lung
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
I should explain a little better I think.

For the /etc/rc.d/rc.firewall script to be run at boot time it needs to be set executable or it will not be started.

Code:
chmod +x /etc/rc.d/rc.firewall
You can use that script to start it manually too (without the need to reboot) but a reboot is a good test to be sure it's working as expected.

Code:
iptables -vnL
will confirm that.
Ahh thank you very very much ... confirmation affirmative .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing A Single Firewall Policy For Multiple Servers Using Firewall Builder LXer Syndicated Linux News 0 12-06-2010 10:20 AM
old CISCO PIX 515 firewall to Linux firewall Winanjaya Linux - Security 8 03-22-2010 11:56 AM
pptp gets modem hung up outside firewall, but not inside firewall cmnorton Linux - Networking 4 11-27-2008 12:04 AM
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 10:09 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration