Why is Exim installed, firewall configuration, how to change the turn port?

Hi all, thanks for your help, read the documentation and have a couple of questions:

  1. As I can see, Exim is also installed on the Debian server, although I don’t see it in the running ones, why is it installed?
ls /etc/exim4/
conf.d  exim4.conf.template  passwd.client  update-exim4.conf.conf
  1. Setting up a firewall as I see from the documentation and ports that are now open, I think it looks like this(please correct if I’m missing something)
# SSH
ufw allow 22/tcp comment 'ssh'
# Nginx HTTP/HTTPS
ufw allow 80/tcp comment 'nginx http'
ufw allow 443/tcp comment 'nginx https'
# turn UDP
ufw allow 3478/udp comment 'coturn udp'
# turn 
ufw allow 49152:65535/ comment `udp call`
# Mail
ufw allow 587/tcp comment 'mail'
ufw allow 465/tcp comment 'mail'
ufw allow 993/tcp comment 'mail'
ufw allow 25/tcp comment 'mail'
ufw allow 143/tcp  comment `open it??'
ufw enable
  1. Can I change the server’s turn port to 5478, for example?
  2. Did not find where the turn server is installed, as well as its configuration file?

No, currently it’s hard-coded, but I don’t recall a particular reason for that having to be the case, except maybe this.


It’s installed to /usr/local/bin/chatmail-turn:

And then launched from here:

There is nothing to configure currently

1 Like