Meti vian propran TURN servilo

Jami can be configured to use TURN or STUN servers (RFC5766) to establish a connection between two peers.

La defaŭlta TURN servilo estas “turn.jami.net”, kun uzantnomo “ring”, pasvorto “ring”, kaj reĝimo “ring”.

In this guide, we will setup a coTURN server. There are other TURN/STUN server implementations available under a free license, such as TurnServer and Restund.

Instalado

The CoTURN server is available on most Linux distributions. On Debian, install it with the following command:

apt-get install coturn

Konfigado

Here is a basic turnserver.conf configuration file:

listening-port=10000
listening-ip=0.0.0.0
min-port=10000
max-port=30000
lt-cred-mech
realm=sfl

This also will function as a STUN server. The STUN server does not require a username and password (A STUN server uses very little bandwidth).

Kreado de uzantoj sur via TURN-servilo

Por krei uzantojn sur via TURN-servilo, uzu la turnadmin binarigo (tio eble postulas superuzanto permesojn).

turnadmin -a -u bob -p secretpassword -r sfl

Lanĉante la servilo TURN

turnserver -c turnserver.conf

Konfiguri Jami por aŭtentikiĝi per la servilo TURN

Vi povas konfiguri Jami por uzi vian TURN-servilon de la progresinta sekcio de viaj kontinstalo:

Kampo

Valoro

Ekzemplo

servilurl

gastiganto kaj haveno de via servilo

0.0.0.0:10000

Username

uzantnomo

bob

pasvorto

pasvorto

sekreta pasvorto

Regno

la regno

Sfl