lkml.org 
[lkml]   [2010]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectIPv4 NAT UDP Traversal issue
From
Dear all,

I have a question about Linux NAT, our Product is ADSL
Router(Linux Version is 2.6.22.15), and Now our customers requirment
is below:

IPv4 Nat: UDP Traversal through NAT, must support STUN
(RFC3489) the four ways: Full Cone、Restricted Cone、Port Restricted
Cone and Symmetric

As I known, netfilter IPv4 NAT is belonged to Symmetric type.
and if want UDP Traversal through NAT, NAT Device can not be Port
Restricted Cone and Symmetric type if the other is Symmetric type.

So my question is: Can iptable set the UDP NAT converted to
Full Cone or Restricted Cone type?

we now set NAT use iptables below:

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere

Thanks very much!

BR,
win847
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-04-20 03:57    [W:0.149 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site