Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-04-2004, 08:04 PM   #1
Registered: Dec 2003
Distribution: Kubuntu Edgy
Posts: 38

Rep: Reputation: 15
Netfilter in kernel 2.6 and ipfilter

My pc is running a 2.6 kernel, so the latest version of netfilter is running in kernel space.
Iptables is a user-space tool to modify the routing table (which of course is kernel-space) right?
Well, i have successfully understood the basic commands, but a few special targets don't work yet. These are DNAT, SNAT and MASQUERADE (i haven't tried anything else except the former, ACCEPT and DROP). When i run iptables to add a rule with that target i get this error:
# iptables -t nat -A POSTROUTING -p tcp -o eth0 -j SNAT --to
iptables: Invalid argument
I even tried to compile everything related to netfilter statically into the kernel but i can't still execute the command? What's wrong here? Do i need a newer user-space tool for the new 2.6 firewall?

EDIT: my iptables version is 1.2.8

Last edited by Maranza; 02-04-2004 at 08:05 PM.
Old 02-05-2004, 08:03 AM   #2
Registered: Dec 2003
Distribution: Kubuntu Edgy
Posts: 38

Original Poster
Rep: Reputation: 15
anyone had this problem before?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
netfilter/iptables in kernel: module vs static -Nw- neX Linux - Security 5 03-25-2005 07:44 PM
Optimize kernel 2.6.7: netfilter Worstje Linux - Software 0 06-17-2004 08:25 AM
Installing IPFILTER question satimis *BSD 2 05-22-2004 03:36 PM
netfilter kernel patching vexer Linux - Networking 0 04-16-2004 02:31 PM
kernel conflicts...why netfilter...why? orgcandman Linux - Software 4 09-12-2002 06:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration