Questions tagged [stun]

STUN stands for Session Traversal Utilities for NAT. It helps peers located behind NATs communicate with each other when they only have private IP addresses.

STUN stands for Session Traversal Utilities for NAT. It helps peers located behind different NATs communicate with each other when they only have private IP addresses.

The underlying technique used by STUN is to have both peers contact a central peer (having a public IP address) to help them communicate directly with each other. Achieving this involves performing NAT hole punching. Performing STUN is not always possible because of restrictions established on NATs.

The original hole punching method used by STUN is now deprecated, because it does not cover all cases properly.

460 questions
0
votes
1 answer

Router not forwarding packets to other device through STUN mapped ports

I have been implementing STUN in SIP protocol... I see that when I connect 2 devices behind the same NAT and enable STUN in both , I cannot receive media through the mapped ports..Is this behavior proper ?? I see that the router is not routing the…
user2139084
  • 275
  • 1
  • 4
  • 14
0
votes
1 answer

STUN UDP request packet trouble

I am trying to use some globally available STUN servers so that they can tell me my NAT mapping in order to traverse the NAT with UDP. The servers are on this webpage: http://www.tek-tips.com/faqs.cfm?fid=7542 I tested them and they do ping. The…
Vladimir Gazbarov
  • 860
  • 1
  • 10
  • 25
0
votes
4 answers

VoIP Wireshark analysis, can see RTP stream but couldn't found SIP or H323

Forgive me if I'am asking the wrong question. Recently I am trying to analyze some voip traffic in Wireshark. But all I could see are small UDP packets; some containing RTP streams and I can see various codec information like G.711, G.723 etc. But…
Rousseau
  • 85
  • 1
  • 4
  • 9
0
votes
0 answers

The Outgoing and Reply port of STUN message?

I'm trying to implement something with STUN (with PJSIP) as following flow: [IE] <--TCP/UDP trans.--> [agentC] <----STUN-----> [agentS] <--UDP/TCP trans.--> [Apache] And the [TCP/UDP trans.] part is ready. The agentC might have the stun mapped…
Smith.Lai
  • 142
  • 1
  • 8
-1
votes
1 answer

How often are STUN servers actually used in WebRTC?

Every time I set up WebRTC video call clients, it never works unless I specify a TURN server. No matter how many STUN servers I supply, it always falls back onto TURN. It could be the case that the people I have tested on all coincidentally happened…
Null Salad
  • 765
  • 2
  • 16
  • 31
-1
votes
1 answer

How a peer to peer connection is established in python ? ( UDP )

Hi I want to develop a project in peer to peer file transfer from one computer to another computer which have different nat or different ISP without middle server (only Stun Server allowed ). Even though we have to use Tcp for file transfer I just…
-1
votes
1 answer

Can't access from SSH to secondary public IP

I have a virtual machine with Ubuntu 16.04 with two public IPs on Azure, one primary and one secondary in the same network interface. I need two public IPs to be able to mount a STUN / TURN / ICE server. I can access the main one by SSH but the…
poly82
  • 39
  • 7
-2
votes
1 answer

How do i check my nat type using stun? New on this

i want to know my nat type, i was trying with this command "netsh interface Teredo show state" however someone suggested me that i should ie a stun server or client to have a better idea of my nat. But i dont have any idea of this, i just want to…
neto333
  • 81
  • 6
-2
votes
1 answer

MSTSC.exe with STUN

Is it possible to connect mstsc.exe of one PC of one maching behing NAT to another machine behing NAT via STUN / hole punching. If yes, could you please help how it can be done in c#. As i understand there're lots of public stun servers over…
Siarhei Kuchuk
  • 5,296
  • 1
  • 28
  • 31
-2
votes
1 answer

I would like to set up rfc5766-turn-server in Ubuntu 14.04, can anyone give me the set of steps listed all together ? I am doing it in AWS EC2

I have tried to install and set up rfc5766-turn-server in AWS EC2 but unable to do it as I do not see a proper flow of work or command line for that, can someone help me about this ? I need to set it up in Ubuntu 14.04
1 2 3
30
31