Quick NAT hole punching question

57 views
Skip to first unread message

goodnews...@gmail.com

unread,
Sep 25, 2017, 5:25:52 PM9/25/17
to Netty discussions
Hello,

I was reading that to NAT hole punch you should possibly be getting two ipaddresses and two ports from this article: http://www.brynosaurus.com/pub/net/p2pnat/

In Netty I only read one IP from:
packet.sender().getPort();
and
packet.sender().getHostName();

Where do I get the second IP/Port?

Thank you,
Jim

Norman Maurer

unread,
Sep 26, 2017, 3:05:08 AM9/26/17
to ne...@googlegroups.com
Maybe I am wrong but I think this is not supported in Netty as its not exposed by Java.

Bye,
Norman
> --
> You received this message because you are subscribed to the Google Groups "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/netty/9ee066a3-4dc7-4fea-a29c-c63a2319a927%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages