Skip to content

Instantly share code, notes, and snippets.

@zziuni
Created September 18, 2012 08:05
Show Gist options
  • Save zziuni/3741933 to your computer and use it in GitHub Desktop.
Save zziuni/3741933 to your computer and use it in GitHub Desktop.
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
stun.fwdnet.net
stun.ideasip.com
stun.iptel.org
stun.rixtelecom.se
stun.schlund.de
stunserver.org
stun.softjoys.com
stun.voiparound.com
stun.voipbuster.com
stun.voipstunt.com
stun.voxgratia.org
stun.xten.com
@mattjereb
Copy link

Any public STUN servers in Australia? All of them are over 100-200ms away!

@ahmnouira
Copy link

Any public STUN server in North of Africa.

@dcloutie
Copy link

Any public STUN server in Canada.

@Quix0r
Copy link

Quix0r commented Jun 3, 2020

I wonder how I can test my own server. f.haeder.net has UDP and TCP port (ejabberd provides it) and configured in DNS for the domain.

@magicdrums
Copy link

Any Public STUN Server in South America?

@danfoxley
Copy link

How does stun.l.google.com cough up IPs? I see only one IP at a time when doing a DNS A record lookup. How do we know the full list of IP addresses behind this DNS A record? This IP is not returning a Binding Request: 74.125.192.127

@christophermina
Copy link

Google seems to be broadcasting this IP for stun (74.125.192.127) but it’s no good and does not properly handle STUN requests. It seems to be ISP dependent, meaning certain ISPs are caching that DNS resolution, but I’ve seen the number of Customers across multiple ISPs who are having STUN issues growing this week, and all affected users are resolving stun.l.google.com to the 74.xxx address.

We have implemented a fallback to Freeswitch Stun in case response from Google STUN is not returned. Standard WebRTC protocol in browsers expect on or more STUN server paths and will resolve DNS for both, and will initiate the STUN request to both in parallel for any applicable candidates. This has resolved the issue for us, but would be great if Google can stop broadcasting that IP.

@sburlappp
Copy link

Google apparently provides a pool, but you'll need to reference each individually:

stun.l.google.com has address 74.125.192.127
stun1.l.google.com has address 172.217.192.127
stun2.l.google.com has address 142.250.15.127
stun3.l.google.com has address 108.177.15.127
stun4.l.google.com has address 108.177.119.127

Note: I can successfully ping them all right now.

@ShuyingMaggieMi
Copy link

ShuyingMaggieMi commented Sep 3, 2020

Hi bud, how you test these server address? Just paste them in the web browser address?@sburlappp

@sburlappp
Copy link

You can test a STUN server using the tools on this webpage:

https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

@jessaleks
Copy link

Ok so I don't understand - what are the benefits of using a STUN server vs connecting P2P?

@magicdrums
Copy link

Ok so I don't understand - what are the benefits of using a STUN server vs connecting P2P?

in P2P no necessary use STUN Server, but behind Firewall this connection is stable with this type server, for me STUN Server works is great solution for virtualization behind Firewall Perimetral

@ChrisZhangJin
Copy link

is this list still available yet??

@hillbilly300
Copy link

is this list still available yet??

yes

@rizwinantony
Copy link

ആശനെ ചൂമ്മാ കിട്ടും ആയിരിക്കും ഇല്ലേ ...

machanee

@algisju
Copy link

algisju commented May 4, 2021

stun1.cht.com.net
(Taiwan ChungHwa)

@Quix0r
Copy link

Quix0r commented Aug 9, 2021

stun.f.haeder.net - Normally only for my XMPP server for Jingle.

@Quix0r
Copy link

Quix0r commented Aug 9, 2021

stunserver.org is domain-parked, no service I would expect there.

@israeltelecom2
Copy link

NAT is still an issue with voip.

@pradt2
Copy link

pradt2 commented Nov 17, 2021

I maintain a reguarly updated list of STUN servers. You can check it out here: https://github.com/pradt2/always-online-stun

@docjojo
Copy link

docjojo commented Oct 12, 2023

Try this tool for STUN Testing.
https://icetest.atec-systems.com/

@docjojo
Copy link

docjojo commented Oct 14, 2023

New free STUN server.

https://freestun.net/

@maxihatop
Copy link

You can get and use list of public STUN servers from Emercoin: https://github.com/emercoin/emercoin/blob/master/src/gen-stun-list.c

@codeWriter22
Copy link

you can also try Open Relay Project for free STUN and TURN servers

@Quix0r
Copy link

Quix0r commented Dec 7, 2023

STUN:stun.f.haeder.net:3478 is also available. Since I maintain this (including all services, too) in my free-time, please be kind.

@fawazahmed0
Copy link

stun.cloudflare.com:3478

@iocc-git
Copy link

iocc-git commented Feb 11, 2024

My udp/tcp/v4/v6 stun server: stun.flashdance.cx:3478

@docjojo
Copy link

docjojo commented Jul 12, 2024

New service https://fastturn.net

@CypherpunkSamurai
Copy link

CypherpunkSamurai commented Sep 6, 2024

To test servers in batch visit https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
and paste this

// for testing servers connection batch
var list = `paste lists here`;
list.split('\n').forEach((test) => {url.value = "stun:" + test; addServer()})

@CypherpunkSamurai
Copy link

or https://icetest.info

var stunlist = `list without prefix stun:`;
const checkUrl = document.getElementById("add-new-stun");
const addBtn = document.querySelector(".btn.btn-outline-primary.btn-block")
stunlist.split('\n').forEach((stun) => {
    checkUrl.value = "stun:" + stun;
    addBtn.click();
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment