Skip to contentSkip to conversation

does NAT based on iptables support TCP hole punch?

DISCUSSION Tony Wan 2 participants 2 messages Jun 11, 2009 netfilter

lore
Share & tools
lore

Tony Wan

author
#0 lore raw

Hi all,

It's said that TCP hole punch does not work if both endpoints come from 2 sub-networks, whose NAT are both implemented by iptables. I just want to make sure whether this is true. If so, what type of nat can iptables work as? full-cone, restricted, port restricted, or symmetric?

Sorry if it's not appropriate to ask such a question here. Thanks in advance.

Signature · 2 lines
Best regards,
Tony Wan
#1 lore raw
Quoted 9 lines · On Thu, 11 Jun 2009 11:42:44 +0800 Tony Wan <[email protected]> wrote:

Hi all,

It's said that TCP hole punch does not work if both endpoints come from 2 sub-networks, whose NAT are both implemented by iptables. I just want to make sure whether this is true. If so, what type of nat can iptables work as? full-cone, restricted, port restricted, or symmetric?

Sorry if it's not appropriate to ask such a question here. Thanks in advance.

You might want to look up STUNT which uses an intermediary to open the NAT tunnel.