feat: add SCREEGO_TURN_DENY_PEERS

Deny/ban peers within specific CIDRs to prevent TURN server users from
accessing machines reachable by the TURN server but not from the
internet, useful when the server is behind a NAT.

By default denies local addresses.
This commit is contained in:
Jannis Mattheis
2024-09-28 14:06:28 +02:00
parent e5864f38a8
commit 5fda00ef92
4 changed files with 43 additions and 2 deletions

View File

@@ -2,3 +2,4 @@ SCREEGO_SECRET=secure
SCREEGO_LOG_LEVEL=debug
SCREEGO_CORS_ALLOWED_ORIGINS=http://localhost:3000
SCREEGO_USERS_FILE=./users
SCREEGO_TURN_DENY_PEERS=