Skip to content

Conversation

@pvagner
Copy link

@pvagner pvagner commented Oct 31, 2025

This turn server enumerates all the interfaces found on the system, identifies globally addressable addresses and creates an UDP listen socket on the default port. Relay connections for this scenario is not restricted and the whole port range should be allowed in the firewall. This setup will work when the public addresses are configured on the system. For home setups where the server is behind a NAT this won't work.
There fore I have added ability to specify local listen address and a public relay address for listening connections and additional minimum and maximum port for the relay connections. Both the listen port and the relay port range have to be forwarded in the gateway providing network address translation so incoming UDP connections will end up reaching running instance of this turn server.

While testing run

chatmail-turn --help

to discover the commandline arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant