So the problem I’m facing is that when I deploy
this genieacs(GitHub - GeiserX/genieacs-docker: Automated configuration files for your GenieACS deployment ) 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
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.
How do i configure STUN and what is STUN ? And do I need to configure it on the CPE or the ACS ?
Is there any alternate ?
If you can put the ACS on the same network (not public) as the router’s WAN, you would have no need for STUN.
Can i give my router’s public Ip then will it work ?
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.
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.
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.
Will long polling resolve this issue?
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?
No. The issue with your current setup seems to be NAT related.
Yes it would.
Thank you so much for your support, was really helpful
Were you able to get the device “online”?