netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Does netbird support tcp relay(coturn)?

Open xiaolei0125 opened this issue 1 year ago • 5 comments

Describe the problem

Does netbird support tcp relay? if I set no-udp and no-udp-relay in coturn turnserver.conf, the netbird get error

netbird status -d
Relays: 
  [stun:stunserver.stunprotocol.org:3478] is Available
  [stun:stun.freeswitch.org:3478] is Available
  [turn:turn.xx.top:3478?transport=tcp] is Unavailable, reason: allocate: Allocate error response (error 442: UDP Transport is not allowed by the TURN Server configuration)

if I set no-udp, but unset no-udp-relay in coturn turnserver.conf, the netbird status no error, but It seem that netbird client use udp to connect coturn relay :

netbird status -d
Relays: 
  [stun:stunserver.stunprotocol.org:3478] is Available
  [stun:stun.freeswitch.org:3478] is Available
  [turn:turn.xx.top:3478?transport=tcp] is Available

NetBird version

Daemon version: 0.26.2
CLI version: 0.26.2
Management: Connected to https://nb.xx.top:8443
Signal: Connected to https://nb.xx.top:8443
Relays: 
  [stun:stunserver.stunprotocol.org:3478] is Available
  [stun:stun.freeswitch.org:3478] is Available
  [turn:turn.xx.top:3478?transport=tcp] is Available
FQDN: m1.nb.iot
NetBird IP: 100.64.0.3/16
Interface type: Kernel
Quantum resistance: false
Peers count: 3/6 Connected

Maybe Related issue: #414

xiaolei0125 avatar Mar 06 '24 10:03 xiaolei0125