Questions tagged [nat-traversal]

NAT traversal is a general term for techniques that establish and maintain Internet protocol connections traversing network address translation (NAT) gateways.

NAT traversal is a general term for techniques that establish and maintain Internet protocol connections traversing network address translation (NAT) gateways.

SOCKS is the oldest NAT traversal protocol.

Read more about NAT traversal at Wikipedia..

72 questions
2
votes
1 answer

TURN server behind firewall - how to handle XOR-RELAYED-ADDRESS

I am running a TURN server (http://tools.ietf.org/html/rfc5766) on a server that is behind a firewall. The machine has a public IP address where incoming and outgoing network packets are sent to/from the server's private IP address. Basically, the…
Chris
  • 2,786
  • 1
  • 28
  • 31
1
vote
2 answers

C# UDP Server/Client - NAT

Iam trying to send a message (via UDP) from my client to my server. The server should answer this message and if the client receives this answer he should print out a message. If i run the client and server on my local network everything works fine.…
Fuzzyl0gic171
  • 11
  • 1
  • 2
1
vote
0 answers

libnice simple-example.c crash

I am developing a P2P App for a IOT project, I have researched the subject for months, I know C and C++ languages,(Reason why im not using webRTC or libp2p) Im trying to run Libnice simple-example.c…
Lucas
  • 11
  • 2
1
vote
0 answers

xfrm state encap espinudp: caputure espinudp package but xfrm not work

I try to setup ipsec nat-t by hand topology like that ----------------------------------------------(Pub net) | +-|---------------------+ | |eth0 192.168.100.123/24| (iptables -A…
Shawn Lu
  • 121
  • 1
  • 1
  • 7
1
vote
1 answer

LibTorrent Nat Traversal

I am trying to connect to peer via add_peer() function in LibTorrent. But what if the peer from which I want to download the file is behind NAT? Is there something for NAT Traversal in Libtorrent?
1
vote
1 answer

Send data between different LANs in python

I've been trying for two weeks to create a Python script that will communicate with itself even if run from different LANs. But I can not perform the NAT traversal. I've tried to check what's going wrong and at least the socket isn't timeouting…
Gil Reiter
  • 11
  • 4
1
vote
0 answers

Peer-to-peer over Internet on Qt

I need to make peer-to-peer communication between applications. The applications also shall find each other automatically in internet. For this, among other things, I need to overcome NAT Traversal, etc. As example, I need to use the communication…
Vladimir Bershov
  • 2,701
  • 2
  • 21
  • 51
1
vote
1 answer

How do you do NAT traversal for RTP media using Kamailio for signalling?

There are three devices in question. A VoIP phone behind NAT My own Kamailio Server on an EC2 instance. The Linphone application for android on my phone. My phone is on mobile data, and since I have an MVNO, it appears to be NATed as well (private…
Anthony A
  • 55
  • 6
1
vote
1 answer

Example of simple port forwarding using any UPnP library in Java?

I want to open port 5555 on my machine using UPnP to the world. Could you please provide me with such Java sample for any sutable Opensource library. I need A CODE SAMPLE like one I can give you for C# using this lib using TCMPortMapper; private…
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
1 answer

Is any one using GAE for Nat traversal? (as server for keeping mappings)

So I can limit my app with UPNP NATs capable clients. I would love to see any Opensource Java project using GAE as server for keeping maps like (ClientID, IP:PORT) (with example of some on clients simple hole puncher) Is there any such project?
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
1 answer

STUN and TURN clarification

I need to establish a connection between a server and clients which can both be behind any type of NAT. For this purpose I have a dedicated host on the internet with clean IP for hosting STUN/TURN server. I'm not going to use WebRTC, I just want to…
rightaway717
  • 2,631
  • 3
  • 29
  • 43
1
vote
1 answer

How do I get my external IP address and external Port Number from a STUN request?

I am behind the NAT of my WiFi router. When I send a packet from port 20,000,it comes out of my WiFi router on port 56867. I want to be able to get the output port number (the 56867) programmatically and I am trying do so via the STUN protocol. I am…
user4691169
1
vote
1 answer

Ice4j: Testing IcePseudoTcp - STUN server needed?

Does anyone know the process of testing IcePseduoTcp? Is it self contained, or do you have to point it to a STUN server for it to work?
putty174
  • 305
  • 5
  • 19
1
vote
1 answer

NAT traversal using free STUN and TURN servers in C#

This is my previous post: NAT Traversal using only free STUN and TURN servers in C# I am making an online application that communicates with each other peer-to-peer. Most users are expected to be in their private network behind a NAT, and I need to…
eivour
  • 1,678
  • 12
  • 20
1
vote
0 answers

NAT/Firewall traversal with Java and the ICE (interactive connectivity establishment) protocol

My goal is in fact very simple. I want to create java p2p connections over the Internet. With this connection I want to do audio/video chat. I know there are enough solutions for this out there but I need my own. The best would be a working libary…
Flex Texmex
  • 1,074
  • 2
  • 11
  • 23