Eturnal Signaling server for NS8

Here’s how to test eturnal…

Install scratchpad:

add-module ghcr.io/davideprincipi/scratchpad:1.0.0

Setup firewall:

firewall-cmd --permanent --add-port=3478/tcp
firewall-cmd --permanent --add-port=3478/udp
firewall-cmd --permanent --add-port=50000-50500/udp
firewall-cmd --reload

Enter scratchpad:

runagent -m scratchpad1

Get config file:

curl --output eturnal.yml https://raw.githubusercontent.com/processone/eturnal/refs/heads/master/config/eturnal.yml

Run eturnal container:

podman run -d --rm \
    --name eturnal \
    -p 3478:3478 \
    -p 3478:3478/udp \
    -p 50000-50500:50000-50500/udp \
    -e ETURNAL_RELAY_MIN_PORT=50000 \
    -e ETURNAL_RELAY_MAX_PORT=50500 \
    -v ./eturnal.yml:/etc/eturnal.yml:ro \
  ghcr.io/processone/eturnal:1.12.2

Get TURN credentials:

podman exec eturnal eturnalctl credentials

Now you can test STUN and TURN server, see Quick Test — eturnal v1.12.2+1

To remove the eturnal testing environment, just remove scratchpad and the firewall ports:

remove-module --no-preserve scratchpad1
firewall-cmd --permanent --remove-port=3478/tcp
firewall-cmd --permanent --remove-port=3478/udp
firewall-cmd --permanent --remove-port=50000-50500/udp
firewall-cmd --reload
2 Likes