# How you install geniesacs with stun server same host on debian

**URL:** <https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022>\
**Category:** Uncategorized\
**Created:** [January 17, 2024, 9:30am UTC](https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022 "2024-01-17T09:30:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anthony](https://forum.genieacs.com/u/anthony)\
**Post date:** [January 17, 2024, 9:30am UTC](https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022/1 "2024-01-17T09:30:46Z")

</div>

Hello everyone,  
I need your help.  
I have deployed GenieACS 1.2.9 on debian and I am looking to deploy a STUN server on the same host in order to be able to retrieve the IPs of NAT devices.

Can you help me with the deployment.

Best regards

Anthony

---

<div class="post-metadata">

**Author:** ![rmudryk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rmudryk/32/1209_2.png) [@rmudryk](https://forum.genieacs.com/u/rmudryk)\
**Post date:** [January 18, 2024, 3:53pm UTC](https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022/2 "2024-01-18T15:53:10Z")

</div>

([Install TURN/STUN Server on Debian/Ubuntu with coturn](https://community.hetzner.com/tutorials/install-turn-stun-server-on-debian-ubuntu-with-coturn))

---

<div class="post-metadata">

**Author:** ![rmudryk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rmudryk/32/1209_2.png) [@rmudryk](https://forum.genieacs.com/u/rmudryk)\
**Post date:** [January 18, 2024, 3:57pm UTC](https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022/3 "2024-01-18T15:57:40Z")

</div>

What STUN does is open a port through the firewall so you can access the local IP address/port of TR069. Once it is working genieacs will act like it is on your public network but only to that local server. You can turn off all the TURN set limits etc in the coturn configuration file.

in the admin | config this variable needs to be set  
cwmp.udpConnectionRequestPort 3478

---

<div class="post-metadata">

**Author:** ![anthony](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anthony](https://forum.genieacs.com/u/anthony)\
**Post date:** [February 6, 2024, 1:28pm UTC](https://forum.genieacs.com/t/how-you-install-geniesacs-with-stun-server-same-host-on-debian/5022/4 "2024-02-06T13:28:49Z")

</div>

> [@rmudryk](#):
>
> What STUN does is open a port through the firewall so you can access the local IP address/port of TR069. Once it is working genieacs will act like it is on your public network but only to that local server. You can turn off all the TURN set limits etc in the coturn configuration file.
> 
> in the admin | config this variable needs to be set  
> cwmp.udpConnectionRequestPort 3478

Hello Thank you for your answer.

Can you give me an exemple to configure conf file coturn with stun

I start on the subject

Best Regards

Anthony
