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

Notices

Reply
 
Search this Thread
Old 02-04-2004, 08:04 PM   #1
Maranza
Member
 
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 194.236.50.155-194.236.50.160:1024-32000
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
Maranza
Member
 
Registered: Dec 2003
Distribution: Kubuntu Edgy
Posts: 38

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


Reply


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


All times are GMT -5. The time now is 10:33 PM.

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