Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
i have a problem with iptables 1.3.5 and the kernel 2.6.20
here's the deal
root@gateway:~# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: Unknown error 4294967295 ( yeah , right )
after that, i tried another thing
root@gateway:/boot# iptables -t nat -A PREROUTING -s 192.168.0.0/24 -j DNAT --to-destination 86.105.199.139
FATAL: Module ip_tables not found.
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
oupsie, i downloaded the sources againd, looked in the kernel, and added the right things in it
after that, the nat table problem was solved, but i couldn't figure out the -m state --state problem, it still shows me the same output as before
what can be the problem ? i guess it's the kernel, meaning i have to add some things in it, but what ? .. cause i looked in it and i couldn't figure where's the problem ? do i need to upgrade iptables ?!
by the way, i am running slackware current
thanks in advance
make menuconfig
:: Networking
:: Networking Options
:: Network Packet Filtering (Netfilter)
:: Core Netfilter Config.
== Netfilter connection tracking suppot (Y/M)
:: IP Netfilter Config.
== IPv4 connection tracking support (Y/M)
== Full NAT (Y/M)
Save; exit && rebuilt.
I haven't tested it though, but it does sound right.
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
recompiled the kernel, and looked a little bit closer
it seems that in Core Netfilter Configuration i didn't have the support for the "state" match , so i built it in the kernel
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe