Hi Team,
Issue Summary:
As we attempted to run the STUN server with GenieACS but were unable to bring the device online.
Investigation and Actions Taken:
- Configuration Updates:
- Edited the genieacs.env file at /opt/genieacs/genieacs.env
- Added the following entries to configure the UDP connection request port:
ini
UDP_CONNECTION_REQUEST_PORT=3478
GENIEACS_UDP_CONNECTION_REQUEST_PORT=3478
- STUN/TURN Server Setup:
- Installed
coturn
to handle STUN/TURN server requirements:
arduino
apt-get install coturn
systemctl status coturn
systemctl start coturn
systemctl stop coturn
- Configured /etc/turnserver.conf with the following settings:
perl
listening-port=3478
tls-listening-port=5349
fingerprint
lt-cred-mech
use-auth-secret
static-auth-secret=67a95d4e912e6702d6831ab5fbf269978004b2a3fb9b254523dc0b69015d9e79
realm=turn.example.com
total-quota=100
stale-nonce=600
cert=/etc/letsencrypt/live/turn.example.com/cert.pem
pkey=/etc/letsencrypt/live/turn.example.com/privkey.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
dh2066
no-stdout-log
log-file=/var/tmp/turn.log
no-loopback-peers
no-multicast-peers
proc-user=turnserver
proc-group=turnserver
- GenieACS Configuration:
- Updated genieacs.env with:
ini
GENIEACS_STUN_SERVER=<serverIP>:3478
Error Details:
The device remains offline with the following status:
<device info>: Device is offline
Screenshot attached:
Current Status:
Despite these configurations, the device is still offline when connecting to the ACS.
We would appreciate any insights or recommendations to resolve this issue.