Firewall Configuration
Enabling your network to support LiveAvatar
To ensure smooth operation of LiveAvatar (powered by LiveKit), your network firewall needs to allow traffic to specific hosts and ports. This guide outlines exactly what to open up for signal and media traffic.
🚪What needs access?
LiveKit uses WebSocket (WSS) and WebRTC (TLS/DTLS) protocols over both TCP and UDP. All connections are encrypted. Please allow the following traffic to support all LiveAvatar use cases.
Minimum Required (Basic Functionality)
We require the following to be supported.
| Host | Port | Purpose |
|---|---|---|
*.livekit.cloud | TCP 443 | Secure signaling via WebSocket |
*.turn.livekit.cloud | TCP 443 | TURN over TLS - fallback when UDP is blocked |
*.host.livekit.cloud | UDP 3478 | TURN/UDP for establishing peer-to-peer connections |
*://api.liveavatar.com | TCP 443 | Avatar API and Signaling via WebSocket and HTTPS |
Recommended (Best Performance)
In addition to everything above, please allow the following traffic:
| Host | Port | Purpose |
|---|---|---|
| all hosts | UDP 50000-60000 | WebRTC media traffic |
| all hosts | TCP 7881 | WebRTC fallback over TCP |
In addition, we recommend:
- ✅ Enabling UDP hole-punching (if supported)
- ❌ Avoid symmetric NAT if possible
Wildcards Not Allowed?
If your corporate firewall does not support wildcard domains (like *.livekit.cloud), you’ll need to allow traffic to specific hostnames.
Please visit: https://docs.livekit.io/home/cloud/firewall/ for latest list of hostnames. LiveAvatar's subdomain can is heygen-feapbkvq. Please replace <your-subdomain> with heygen-feapbkvq.
IT Notes
- TLS encryption (port 443) ensures secure media and signaling.
- UDP is strongly recommended for low-latency audio/video performance.
- If UDP is blocked, TURN over TCP (443) will be used as a fallback but may degrade quality.
Additional Troubleshooting Tools:
Test Browser Compatibility: https://livekit.io/webrtc/browser-test
Test Connections:
- Note the response from our session start.
- Take note of the
livekit_urlandlivekit_client_token.
- Take note of the
- Enter in
livekit_urlunder LIVEKIT URL and thelivekit_client_tokenunder ROOM TOKEN here: https://livekit.io/connection-test
Updated about 22 hours ago