Re: [squid-users] IPTABLES ERROR

From: Martin Mosny, PosTel, a.s. <mmosny@dont-contact.us>
Date: Tue, 9 Oct 2001 16:56:25 +0200 (CEST)

hi,
check what sort of modules you have in kernel loaded (lsmod).

If there are some ipchains modules unload it (rmmod).
Disable all rc scripts running ipchains on start up.

You need pure iptables. Then modprobe ip_tables.

by m0s

On Mon, 8 Oct 2001, Ayca ARDIC wrote:

>
> Hi,
> I installed squid on a Redhat 7.1 (kernel 2.4.2-2). It is working okey, when
> I set my browser manually. But I want to run it transparently.
> I read the transparent-proxy howtos.
>
> I reconfigured the kernel to enable needed parameters. But when I run
> iptables, I get the following error.
>
> [root@proxy /root]# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport
> 80 -j REDIRECT --to-port 3128
> Note: /etc/modules.conf is more recent than /lib/modules/2.4.2-2/modules.dep
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
> Device or resource busy Hint: insmod errors can be caused by incorrect
> module parameters, including invalid IO or IRQ parameters
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o failed
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables
> failed iptables v1.2.1a: can't initialize iptables table `nat': iptables
> who? (do you need to insmod?) Perhaps iptables or your kernel needs to be
> upgraded.
> [root@proxy /root]#
>
> I don't think that I need to upgrade my iptables or kernel. Cause I
> downloaded them last week.
> Do you have any idea?
> Thanx for your help.
>
> Ayca
>
>
>
   PosTel, a.s. Kvacalova 53,82108 Bratislava 2
      Tel.: +421-2-50203160, Fax.: +421-2-50203198
   http://www.postel.sk, http://www.globalphone.sk
                  GlobalPhone, As long as you want
Received on Tue Oct 09 2001 - 08:56:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:39 MST