[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables - can't locate module ip_tables



On Mon, 18 Oct 2004 09:46:37 +0300, "Sebastien Venot"
wrote:

> 
> hello,
> 
> I installed Debian and i compiled my kernel to get the
> verison 2.4.18.
> now i try to use ip masquerade to enable nat on the
> machine:
> iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o eth0
-j
> MASQUERADE
> i got this error message:
> iptables - can't locate module ip_tables
> 
> So i guess there is no module ip_tables in my debian
> machine.
> I successfully upgraded my kernel so if i do
> uname -a i can see the verison 2.4.18.
> what is wrong? how can i fix this without recompiling
> the whole kernel?
> 
> thanks a lot
> 
> sebastien
> 
---
are you sure your iptables module is loaded, you can
see if you ip tables module is installed with
#lsmod 

ipt_REDIRECT             736   1  (autoclean)
ipt_state                608  22  (autoclean)
ipt_REJECT              2752  29  (autoclean)
ipt_LOG                 3200   1  (autoclean)
iptable_filter          1728   1  (autoclean)
ip_nat_ftp              3200   0  (unused)
iptable_nat            13620   2  [ipt_REDIRECT
ip_nat_ftp]
ip_conntrack_ftp        3296   0  [ip_nat_ftp]
ip_conntrack           14220   3  [ipt_REDIRECT
ipt_state ip_nat_ftp iptable_nat                       
                                       ip_conntrack_ftp]
ip_tables              10720   8  [ipt_REDIRECT
ipt_state ipt_REJECT ipt_LOG ipt                       
                                      able_filter
iptable_nat]
ipv6                  156928  -1  (autoclean)

not all of the are needed.


Regards.

--
Sergio Basurto J.

If I have seen further it is by standing on the 
shoulders of giants. (Isaac Newton)
--
--



Reply to: