# Genieacs connectivity issue

**URL:** <https://forum.genieacs.com/t/genieacs-connectivity-issue/6897>\
**Category:** Uncategorized\
**Created:** [May 28, 2025, 4:16pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897 "2025-05-28T16:16:15Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 28, 2025, 4:16pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/1 "2025-05-28T16:16:16Z")

</div>

So the problem I’m facing is that when I deploy  
this genieacs([GitHub - GeiserX/genieacs-docker: Automated configuration files for your GenieACS deployment](https://github.com/GeiserX/genieacs-docker) ) on my server and then connect my router to my server. The router come online in the ui, but when i try to summon them the task gets faulted to device is offline, so my question is will genieacs only send actions to the CPE while on the same network ? Like I’m thinking that my routers ip is private and my server is public so maybe that’s why the Cwmp session may not be establishing. But can someone please help me solve this issue ? All the ports of my server are public

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 28, 2025, 4:44pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/2 "2025-05-28T16:44:02Z")

</div>

If your router has a private WAN IP, then you may need to configure STUN to be able to manage the router from the ACS.

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 28, 2025, 4:49pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/3 "2025-05-28T16:49:56Z")

</div>

How do i configure STUN and what is STUN ? And do I need to configure it on the CPE or the ACS ?

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 28, 2025, 5:02pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/4 "2025-05-28T17:02:35Z")

</div>

This may help.

[Device Offline Issue with STUN Server Configuration in GenieACS - GenieACS Forum](https://forum.genieacs.com/t/device-offline-issue-with-stun-server-configuration-in-genieacs/6590/4)

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 28, 2025, 5:12pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/5 "2025-05-28T17:12:40Z")

</div>

Is there any alternate ?

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 28, 2025, 5:15pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/6 "2025-05-28T17:15:49Z")

</div>

If you can put the ACS on the same network (not public) as the router’s WAN, you would have no need for STUN.

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 28, 2025, 5:21pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/7 "2025-05-28T17:21:35Z")

</div>

Can i give my router’s public Ip then will it work ?

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 28, 2025, 5:26pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/8 "2025-05-28T17:26:53Z")

</div>

If that is an option, it will work without needing STUN.

I have also seen some routers that you can add a 2nd WAN interface (with a public IP) and configure the router to use that interface to reach the ACS.

Bear in mind that having the ACS and your devices on a private IP network is safer.

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 28, 2025, 5:29pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/9 "2025-05-28T17:29:46Z")

</div>

So when you say this “ Bear in mind that having the ACS and your devices on a private IP network is safer.”

You’re saying to use STUN?  
And what if my routers don’t support STUN ?

I was suggested this too:  
**Long-Polling Mode** : Configure your ACS (e.g., GenieACS) to use long-polling, where the CPE maintains a persistent connection to the ACS, allowing for management without relying on connection requests.

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 28, 2025, 6:48pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/10 "2025-05-28T18:48:56Z")

</div>

If you are just testing the server, short-term, then it may be quicker if both the server and your router both have public IPs.

For long-term deployment, I would recommend using private IPs (VLAN) with separate WAN interface just for TR69.

Long-Polling is something else.

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 29, 2025, 5:25am UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/11 "2025-05-29T05:25:24Z")

</div>

Will long polling resolve this issue?

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 29, 2025, 10:09am UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/12 "2025-05-29T10:09:13Z")

</div>

One more question if i dont use STUN or anything, then will the device itself on it periodic inform interval execute the tasks even when on different networks?

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 29, 2025, 12:29pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/13 "2025-05-29T12:29:36Z")

</div>

No. The issue with your current setup seems to be NAT related.

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 29, 2025, 12:30pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/14 "2025-05-29T12:30:00Z")

</div>

Yes it would.

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [May 29, 2025, 5:04pm UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/15 "2025-05-29T17:04:08Z")

</div>

Thank you so much for your support, was really helpful

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [May 30, 2025, 2:08am UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/16 "2025-05-30T02:08:24Z")

</div>

Were you able to get the device “online”?

---

<div class="post-metadata">

**Author:** ![Shivi1771](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/shivi1771/32/2440_2.png) [@Shivi1771](https://forum.genieacs.com/u/Shivi1771)\
**Post date:** [June 24, 2025, 6:01am UTC](https://forum.genieacs.com/t/genieacs-connectivity-issue/6897/17 "2025-06-24T06:01:33Z")

</div>

yes I was
