richard noel fell wrote:
> On redhat 9, I am trying to set up ip masquerade on my lan. When I do
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE I get the
> following error message:
> modprobe: Can't locate module ip_tables
> iptables v1.2.7a: can't initialize iptables table `nat': Table does not
> exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> Well, the kernel is the latest so I do not think that is the problem. I
> tried
> insmod ip_tables and came up with "no module by that name".
>
> A search on redat.com/downloads failed to produce any such object. Does
> anyone know how I can install the required module and where to get it?
> Thanks,
> Dick Fell
I'm still running RH7.3 but this might help.
[root@blackhole devices]# head -1 /etc/issue
Red Hat Linux release 7.3 (Valhalla)
[root@blackhole devices]# rpm -qi iptables
Name : iptables Relocations: /usr
Version : 1.2.5 Vendor: Red Hat, Inc.
Release : 3 Build Date: Mon 04 Mar 2002
05:37:44 AM CST
Install date: Tue 09 Jul 2002 02:28:18 PM CDT Build Host:
daffy.perf.redhat.com
Group : System Environment/Base Source RPM:
iptables-1.2.5-3.src.rpm
Size : 389714 License: GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL :
http://www.netfilter.org/
Summary : Tools for managing Linux kernel packet filtering
capabilities.
Description :
The iptables utility controls the network packet filtering code in the
Linux kernel. If you need to set up firewalls and/or IP masquerading,
you should install this package.
[root@blackhole devices]#
The executable is /sbin/iptables and there are probably 30-40 modules in
/lib/iptables/
--
Software production is assumed to be a line function, but it is run
like a staff function.
-- Paul Licker
11:54am up 6 days, 17:09, 7 users, load average: 1.09, 1.39, 1.01
One billion seconds ago it was 09:07:20 CST Thu 12/16/71
Repeat after me: "The primary purpose of any government
entity is to employ the unemployable."