Networking Forums

Networking Forums > Computer Networking > Linux Networking > building stateless nat with iptools

Reply
Thread Tools Display Modes

building stateless nat with iptools

 
 
jprudent
Guest
Posts: n/a

 
      05-23-2011, 05:21 AM
Hi!

I'm struggling building a simple stateless NAT with iptools with a
2.6.39
I've read on some forum that the feature is now removed, hence I
should use netfilter.
Is that true?

PS:
For DNAT, when I'm trying to input
ip route add nat 10.0.55.2 via 192.168.44.2
it says: RNETLINK answers: invalid argument

Thanks.
 
Reply With Quote
 
 
 
 
jprudent
Guest
Posts: n/a

 
      05-23-2011, 06:31 AM
On May 23, 12:21*pm, jprudent <jprud...@gmail.com> wrote:
> Hi!
>
> I'm struggling building a simple stateless NAT with iptools with a
> 2.6.39
> I've read on some forum that the feature is now removed, hence I
> should use netfilter.
> Is that true?
>
> PS:
> For DNAT, when I'm trying to input
> ip route add nat 10.0.55.2 via 192.168.44.2
> it says: RNETLINK answers: invalid argument
>
> Thanks.


oh yes it's true, rtfm.
 
Reply With Quote
 
Bonno Bloksma
Guest
Posts: n/a

 
      05-23-2011, 01:06 PM
Hi,

> I'm struggling building a simple stateless NAT with iptools with a
> 2.6.39
> I've read on some forum that the feature is now removed, hence I
> should use netfilter.
> Is that true?


Yes, pretty much everything is done nowadays with iptables, the command for netfilter.
It has an ipv4 command (iptables) and an ipv6 command (ip6tables).

Read the docs at http://www.netfilter.org/documentation/index.html

Bonno


 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      05-23-2011, 05:22 PM
Hello,

jprudent a écrit :
>
> I'm struggling building a simple stateless NAT with iptools with a
> 2.6.39
> I've read on some forum that the feature is now removed, hence I
> should use netfilter.
> Is that true?


The best place to ask is the netfilter list. However I'll write a quick
answer.

As others said, the old stateless NAT controlled by the 'ip' tool, was
removed a long time ago. Since 2.6.24 it was replaced by a new stateless
NAT controlled by the 'nat' action of the 'tc' tool.

There is no stateless NAT support by iptables/netfilter in the mainline
kernel. However raw NAT targets RAWSNAT and RAWDNAT are available from
xtables-addons (which replaced the old patch-o-matic).
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building to Building WLAN Questions drftnc240jm Wireless Networks 0 02-24-2011 08:37 PM
Suggestions for a short building-to-building hop Cloy Wireless Internet 19 08-18-2007 11:09 PM
Building to Building (interoffice) access Merrill P. L. Worthington Wireless Internet 5 06-12-2006 08:09 AM
Stateless NAT router Hans Hansen Network Routers 0 12-22-2004 04:19 PM
Can a Single Building-to-Building Bridge be used as a Single Access Point? Alan Wireless Internet 0 10-28-2003 09:27 PM



1 2 3 4 5 6 7 8 9 10 11