COL 311 firewall

Net Llama! netllama
Mon May 17 11:37:04 PDT 2004


Make sure that the ipchains module isn't already loaded.  If so, unload 
it, and then load the ip*tables module.

Kevin O'Gorman wrote:
> I'm trying to configure a COL 311 Server.  I'm at the point of putting
> in a firewall, and I wanted to use IPtables.  The stock tools with this
> system  are for IPchains, but the SysVinit scripts seem to use
> IPtables, so I thought I could just edit things manually.  I don't mind
> that.
> 
> The problem is that when I try to start /etc/rc.d/init.d/firewall,
> either it won't run becuase there's a lock file (for no discernable 
> reason), or if I delete the lock file, I get a long error output.
> This output indicates problems with the modules.
> 
> In particular it's complaining about ip_tables.o.  When I list modules,
> there's one called iptables (no underscore).  The output looks like
> this:
> 
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o: init_module: 
> Device or resource busy
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o: insmod 
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o failed
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o: insmod 
> ip_tables failed
> 
> and it goes on at some length after that.  These particular messages
> come from the script command:
>    modprobe ip_tables
> 
> And that command gives the same error output on the command line.
> 
> What's up?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   4:40pm  up 27 days,  1:02,  4 users,  load average: 0.12, 0.13, 0.17



More information about the Linux-users mailing list