<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[STUN/TURN server debugging]]></title><description><![CDATA[<p dir="auto">On Tuesday I had some trouble with customers who were unable to join a BigBlueButton conference due to a limited government network.<br />
The typical solution for this type of network is a STUN/TURN server constellation, which can be used by these clients to join the meeting via the TURN server.</p>
<p dir="auto">I had no clue how to try out to be part of that kind of limited network / to simulate it and why the STUN/TURN server does not work for them.</p>
<p dir="auto">I found only two interesting links for testing. Maybe they are helpful for your own debugging too.</p>
<ul>
<li><a href="https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/" target="_blank" rel="noopener noreferrer nofollow ugc">https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/</a></li>
<li><a href="https://test.webrtc.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://test.webrtc.org/</a></li>
</ul>
<p dir="auto">Additionally there is a setting in firefox:</p>
<pre><code>about:config
media.peerconnection.ice.relay_only set to true
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1607015149925-ice-errors_simulation-in-firefox-resized.png" alt="ice-errors_simulation-in-firefox.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">At the end, the easiest solution is really simple.<br />
The typical government network firewall looks like:</p>
<pre><code>iptables -P OUTPUT DROP
iptables -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 53 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A OUTPUT -p upd -m upp --dport 53 -j ACCEPT
</code></pre>
<p dir="auto"><em>Only port 80/443/53 are allowed. Rest is blocked</em></p>
<p dir="auto">For this reason WebRTC BigBlueButton meetings without TURN server do not work for them. If you have little snitch on your mac, you can easily simulate this kind of network.</p>
]]></description><link>https://forum.cloudron.io/topic/3843/stun-turn-server-debugging</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 23:56:30 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3843.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Dec 2020 17:10:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to STUN/TURN server debugging on Fri, 04 Dec 2020 08:39:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> We're already done.. had to have udp ports open in the 50,000 range and TURN/STUN ports.</p>
<p dir="auto">Thanks for thinking of me though <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=26d6feada60" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /></p>
]]></description><link>https://forum.cloudron.io/post/20497</link><guid isPermaLink="true">https://forum.cloudron.io/post/20497</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 04 Dec 2020 08:39:16 GMT</pubDate></item><item><title><![CDATA[Reply to STUN/TURN server debugging on Thu, 03 Dec 2020 17:44:03 GMT]]></title><description><![CDATA[<p dir="auto">Maybe this helps <a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a>  debug some of the webrtc issues.</p>
]]></description><link>https://forum.cloudron.io/post/20440</link><guid isPermaLink="true">https://forum.cloudron.io/post/20440</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 03 Dec 2020 17:44:03 GMT</pubDate></item></channel></rss>