Changing that didn't seem to fix my problem. Here's what happened:
root # iptables -t nat -I POSTROUTING -j MASQUERADE -s 192.168.1.3/16
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.
This is my network/netfilter configs (for ck-sources 2.4.22-ck1):
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_TFTP is not set
# CONFIG_IP_NF_IRC is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
So what do I need to do to get NAT working? Any thoughts, anyone? Thanks.
-Brian
On Sun, 02 Nov 2003 12:36:48 -0800
[EMAIL PROTECTED] (Andrew Farmer) wrote:
> On Sun, 02 Nov 2003 12:32:31 -0800, Brian Doob muttered:
> > I'm trying to get IPTables to work under Gentoo (to connect my Linux
> > PDA (with USB ethernet) to the net). This is what happens when I try
> > to use IPTables:
>
> <snip>
> > # CONFIG_FILTER is not set
>
> There's your answer...
>
> --
> Andrew Farmer
> [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list