coturn icon indicating copy to clipboard operation
coturn copied to clipboard

A peer IP 172.x.x.x denied

Open Artiom-M opened this issue 1 year ago • 2 comments

I have recently got a problem in connecting audio/video calls with coturn. I am getting errors like

ERROR: session 000000000000000002: A peer IP 172.x.x.x denied in the range: 172.16.0.0-172.31.255.255 in server 0

when calling from client connected to a matrix server. Coturn is hosted on some remote server, no VPN or anything, so I am sure there is no way for it to receive a packet form this range. And the 172.x.x.x IP is not random but actual private IP of the calling client. How is it possible for coturn to see this address and to deny it? I can see this rule in the config, but my expectation was that it should deny "forged" packets.

Artiom-M avatar Jan 24 '25 09:01 Artiom-M

Some IP ranges are disabled by default (localhost for example) for security reasons You can enable any range by --allowed-peer-ip=<ip[-ip]>

eakraly avatar Jul 25 '25 23:07 eakraly

Doesn't this break communication with Docker containers while hosting something like Jitsi conference systems on Docker? (while using coTURN as the STUN/TURN server configured of course)

SVAMunchkin avatar Aug 06 '25 14:08 SVAMunchkin