Coturn web admin behind reverse proxy

144 views
Skip to first unread message

Taavi Ansper

unread,
Mar 5, 2023, 10:08:44 AM3/5/23
to TURN Server (Open-Source project)
Hi

I am trying to add the coturn webadmin behind reverse proxy.

The webadmin login screen is accessible through the browser, but any login attempt does not work and ends with /logon endpoint.

There is no good information the server logs. (I have verbose mode activated)

Taavi Ansper

unread,
Mar 5, 2023, 10:38:48 AM3/5/23
to TURN Server (Open-Source project)
Why does coturn not print anything good to the logs? 0: :

log file opened: /var/tmp/turn_50_2023-03-05.log
0: : PostgreSQL connection was closed.

Taavi Ansper

unread,
Mar 5, 2023, 10:44:11 AM3/5/23
to TURN Server (Open-Source project)
I got to log in before exposing the UI using just the default 8080 port.

If I generate a password for admin using:

```
turnadmin -P -p REDACTED
```

Then I add the admin user using:

turnadmin --add-admin --psql-userdb="host=db dbname=coturn user=coturn password=REDACTED connect_timeout=30" --user=admin --realm=REDACTED --password=REDACTED

Where the password is the generated password.

It adds the admin, but I can not use neither the password nor the "crypted" password for logging in.
Reply all
Reply to author
Forward
0 new messages