<?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[Manual coturn install for Nextcloud?]]></title><description><![CDATA[<p dir="auto">I have seen that there is already a app wishlist entry for a turn server for Nextcloud Talk. Has anyone been able to install anything manually in the meantime so that webrtc can work on Nextcloud Talk? Either on the cloudron server directly - or on another server?</p>
<p dir="auto">It's a bit of a blocker for us at the moment. We could setup Nextcloud &amp; a turn server on Ubuntu directly without cloudron, but as we're a small NGO, cloudron is a much easier solution to support without a dedicated IT department.</p>
<p dir="auto">Does anyone have any ideas?</p>
]]></description><link>https://forum.cloudron.io/topic/1846/manual-coturn-install-for-nextcloud</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 01:10:48 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/1846.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Jul 2019 08:14:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Mon, 16 Mar 2020 09:53:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iqweb" aria-label="Profile: iqweb">@<bdi>iqweb</bdi></a> I've not looked at it yet but also just seen this tutorial <a href="https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794" target="_blank" rel="noopener noreferrer nofollow ugc">https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794</a></p>
]]></description><link>https://forum.cloudron.io/post/6522</link><guid isPermaLink="true">https://forum.cloudron.io/post/6522</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 16 Mar 2020 09:53:50 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Fri, 23 Aug 2019 17:52:00 GMT]]></title><description><![CDATA[<p dir="auto">Ok - here's how I got it working. This was worked out by checking out various posts on the Nextcloud and also an excellent, simple <a href="https://community.hetzner.com/tutorials/install-turn-stun-server-on-debian-ubuntu-with-coturn" target="_blank" rel="noopener noreferrer nofollow ugc">tutorial</a> on my vps host's tutorial site, Hetzner.</p>
<p dir="auto">This is a detailed how-to to enable voice/video/screensharing support in Nextcloud Talk installed in Nextcloud on Cloudron that is available from outside the local network by installing coturn turn/stun server.</p>
<p dir="auto">Prequisites:<br />
Nextcloud and Nextcloud Talk installed on Cloudron<br />
'A' record setup on your DNS registrar's admin panel pointing to your cloudron server's public ip address with a name record chosen by you e.g. 'turn'</p>
<p dir="auto">All the below commands should be run as root or with sudo.</p>
<ol>
<li>Install coturn and persistent iptables:</li>
</ol>
<pre><code>apt-get install coturn iptables-persistent
</code></pre>
<ol start="2">
<li>Temporarily stop coturn:</li>
</ol>
<pre><code>systemctl stop coturn
</code></pre>
<ol start="3">
<li>Open ports for use with coturn (default ports in this example)</li>
</ol>
<pre><code>iptables -I INPUT -p tcp --dport 5349 -j ACCEPT
iptables -I INPUT -p udp --dport 5349 -j ACCEPT
iptables-save &gt; /etc/iptables/rules.v4
</code></pre>
<ol start="4">
<li>Enable coturn daemon</li>
</ol>
<p dir="auto">Open the file <strong>/etc/default/coturn</strong> and remove the # in front of TURNSERVER_ENABLED=1 (i.e. uncomment it)</p>
<ol start="5">
<li>Make a backup of the original turnserver.conf file:</li>
</ol>
<pre><code>mv /etc/turnserver.conf /etc/turnserver.conf.orig
</code></pre>
<ol start="6">
<li>Create new <strong>/etc/turnserver.conf</strong> using nano or vim or whatever editor you choose as below referring to the comments for changes to be made for your installation:</li>
</ol>
<pre><code>#the port that you opened using iptables
tls-listening-port=5349

fingerprint
lt-cred-mech

use-auth-secret
# this is created by running the sed command in the detailed instrucions
static-auth-secret=replace-this-secret

# the domain that you create an A record for
realm=aaa.bbb.ccc

total-quota=100
stale-nonce=600

# the host domain certs that were created by cloudron on installation
cert=/home/yellowtent/boxdata/certs/xxx.yyy.host.cert
pkey=/home/yellowtent/boxdata/certs/xxx.yyy.host.key
# this will be created using openssl
dh-file=/home/yellowtent/boxdata/certs/dhparam.pem

cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"

no-sslv3
no-tlsv1
no-tlsv1_1


no-stdout-log

# this can be watched using tail -f for troubleshooting
log-file=/var/tmp/turn.log

# once everything is confirmed working you can comment out the above line &amp; uncomment the following

#log-file=/dev/null

no-loopback-peers
no-multicast-peers

proc-user=turnserver
proc-group=turnserver
</code></pre>
<ol start="7">
<li>Create DiffieHellman (dhparam.pem) key exchange file for better TLS security. (this can take sometime - be patient)</li>
</ol>
<pre><code>openssl dhparam -out /home/yellowtent/boxdata/certs/dhparam.pem 4096
</code></pre>
<ol start="8">
<li>Start coturn</li>
</ol>
<pre><code>systemctl status coturn
</code></pre>
<ol start="9">
<li>In Nextcloud, login as an admin &amp; go to the settings page &amp; scroll down to the Talk settings. Add a new TURN server using the domain name you created an A record that appears in your turnserver.conf file after realm= followed by a colon with the tls-listening-port number that you opened - e.g. aaa.bbb.ccc:5349 and for secret enter the static-auth-secret in your turnserver.conf. Choose UDP and TCP. It should then check that it is working and a checkmark will temporarily appear confirming it works. You can also optionally enter the same server:port combination for adding your own STUN server.</li>
</ol>
<p dir="auto">You can go ahead &amp; test a voice &amp; or video chat between 2 clients. To troubleshoot you can tail the latest log file while attempting a chat e.g.</p>
<pre><code>tail -f /var/tmp/turn_2019-08-23.log
</code></pre>
]]></description><link>https://forum.cloudron.io/post/4207</link><guid isPermaLink="true">https://forum.cloudron.io/post/4207</guid><dc:creator><![CDATA[iqweb]]></dc:creator><pubDate>Fri, 23 Aug 2019 17:52:00 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Wed, 21 Aug 2019 16:18:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iqweb" aria-label="Profile: iqweb">@<bdi>iqweb</bdi></a> <s>Do you think you can put in some more detailed instructions on how to do this, so I can integrate it into Cloudron itself?</s></p>
<p dir="auto">never mind, you mentioned that as the first line of your comment.</p>
]]></description><link>https://forum.cloudron.io/post/4191</link><guid isPermaLink="true">https://forum.cloudron.io/post/4191</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 21 Aug 2019 16:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Wed, 21 Aug 2019 06:48:37 GMT]]></title><description><![CDATA[<p dir="auto">I have good news! I have manged to get it working - voice/screensharing tested successfully! I haven't tested video yet but I'm pretty sure it should work. I'm on the road at the moment but I'll post a write up in the next day or so.</p>
<p dir="auto">Just to clarify - it is working with tls on coturn, installed &amp; configured on the same vps as the cloudron install. It was very simple - just needed to get the turnserver.conf correct with a generated dh file &amp; host certs in the yellowtent/boxdata/certs folder.</p>
]]></description><link>https://forum.cloudron.io/post/4189</link><guid isPermaLink="true">https://forum.cloudron.io/post/4189</guid><dc:creator><![CDATA[iqweb]]></dc:creator><pubDate>Wed, 21 Aug 2019 06:48:37 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Wed, 21 Aug 2019 06:13:06 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> while its surely beneficial in very restricted networks to have the turn server available on port 443, its not really a requirement. Similar to the openvpn app you could have the turn server simply listening on its own port.</p>
<p dir="auto">I have for another project identified <a href="https://github.com/instrumentisto/coturn-docker-image" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/instrumentisto/coturn-docker-image</a> as a good base for running coturn (but actually did not yet get to implement it). This image is actively maintained and because of its alpine base quite small.</p>
]]></description><link>https://forum.cloudron.io/post/4187</link><guid isPermaLink="true">https://forum.cloudron.io/post/4187</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Wed, 21 Aug 2019 06:13:06 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Tue, 20 Aug 2019 20:52:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iqweb" aria-label="Profile: iqweb">@<bdi>iqweb</bdi></a> It seems that coturn may not work very well in a reverse proxy setup (like cloudron). So, we have to use another VPS server and install coturn there atm.</p>
<p dir="auto">I found some good tutorials - <a href="https://meetrix.io/blog/webrtc/coturn/installation.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://meetrix.io/blog/webrtc/coturn/installation.html</a>. I will keep looking for ideas on how to install coturn in a reverse proxy setup like <a href="https://github.com/coturn/coturn/issues/43" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/coturn/coturn/issues/43</a></p>
]]></description><link>https://forum.cloudron.io/post/4185</link><guid isPermaLink="true">https://forum.cloudron.io/post/4185</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 20 Aug 2019 20:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Tue, 20 Aug 2019 02:22:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for checking again. We haven't looked into this but it's definitely something we want to support out of the box. Will update this post after we check out the installation instructions.</p>
]]></description><link>https://forum.cloudron.io/post/4177</link><guid isPermaLink="true">https://forum.cloudron.io/post/4177</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 20 Aug 2019 02:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Mon, 19 Aug 2019 08:14:15 GMT]]></title><description><![CDATA[<p dir="auto">Apologies for bumping a month-old thread. Has anyone been able to get this working?</p>
<p dir="auto">I have tried installing coturn on the host, adding iptable entries to open the tcp/udp ports, made them persistent &amp; still no go. I'm not sure if I've setup the certs correctly. I pointed the config file to the host certs in /home/yellowtent/boxdata/certs. I have also tried without tls - still no go.</p>
<p dir="auto">Anyone? I would of thought that many people using Nextcloud in a company/organisational setting would definitely benefit from Nextcloud Talk.</p>
]]></description><link>https://forum.cloudron.io/post/4154</link><guid isPermaLink="true">https://forum.cloudron.io/post/4154</guid><dc:creator><![CDATA[iqweb]]></dc:creator><pubDate>Mon, 19 Aug 2019 08:14:15 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Sat, 27 Jul 2019 07:44:03 GMT]]></title><description><![CDATA[<p dir="auto">The Nextcloud forum has a decent <a href="https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794" target="_blank" rel="noopener noreferrer nofollow ugc">guide</a> &amp; the official Nextcloud VM has an <a href="https://github.com/nextcloud/vm/blob/master/apps/talk.sh" target="_blank" rel="noopener noreferrer nofollow ugc">install script</a> available.</p>
<p dir="auto">Would be ok to manually install coturn on the Cloudron server as per their instructions? If so, how would I open the coturn port on the server without messing up any cloudron security?</p>
]]></description><link>https://forum.cloudron.io/post/4043</link><guid isPermaLink="true">https://forum.cloudron.io/post/4043</guid><dc:creator><![CDATA[iqweb]]></dc:creator><pubDate>Sat, 27 Jul 2019 07:44:03 GMT</pubDate></item><item><title><![CDATA[Reply to Manual coturn install for Nextcloud? on Mon, 22 Jul 2019 10:19:34 GMT]]></title><description><![CDATA[<p dir="auto">The Matrix app comes with a TURN server built-in, which should be of guidance if implemented into the Nextcloud app.</p>
]]></description><link>https://forum.cloudron.io/post/4005</link><guid isPermaLink="true">https://forum.cloudron.io/post/4005</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Mon, 22 Jul 2019 10:19:34 GMT</pubDate></item></channel></rss>