mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* IPv4 NAT UDP Traversal issue
       [not found] <k2s363172901004182032zea2277b4s40e55ae436d2353e@mail.gmail.com>
@ 2010-04-20  1:54 ` 飞颜
  2010-04-20  3:02   ` ratheesh k
  0 siblings, 1 reply; 2+ messages in thread
From: 飞颜 @ 2010-04-20  1:54 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IPv4 NAT UDP Traversal issue
  2010-04-20  1:54 ` IPv4 NAT UDP Traversal issue 飞颜
@ 2010-04-20  3:02   ` ratheesh k
  0 siblings, 0 replies; 2+ messages in thread
From: ratheesh k @ 2010-04-20  3:02 UTC (permalink / raw)
  To: 飞颜; +Cc: linux-kernel

2010/4/20 飞颜 <win847@gmail.com>:
> 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/
>

There is a dedicated mailing list for netfilter .
                      netfilter-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-20  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <k2s363172901004182032zea2277b4s40e55ae436d2353e@mail.gmail.com>
2010-04-20  1:54 ` IPv4 NAT UDP Traversal issue 飞颜
2010-04-20  3:02   ` ratheesh k

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®