Add IPv6 to the coturn config
This commit is contained in:
1 parent
3c4e706e1f
commit
02668de602
1 file changed
+3
-1
@@ -33,7 +33,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# On the host network, so Docker's NAT can't change the source address clients get back. UDP 3478
|
# On the host network, so Docker's NAT can't change the source address clients get back. UDP 3478
|
||||||
# on IPv4 only, stun.example.org needs an A record and no AAAA.
|
# on IPv4 and IPv6, stun.example.org needs an A and an AAAA record. Browsers hide their own addresses,
|
||||||
|
# only STUN reports an IPv6 one, and mobile networks behind carrier NAT often only connect over IPv6.
|
||||||
coturn:
|
coturn:
|
||||||
image: coturn/coturn:4.18.0
|
image: coturn/coturn:4.18.0
|
||||||
network_mode: host
|
network_mode: host
|
||||||
@@ -43,6 +44,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --log-file=stdout
|
- --log-file=stdout
|
||||||
- --listening-ip=0.0.0.0
|
- --listening-ip=0.0.0.0
|
||||||
|
- --listening-ip=::
|
||||||
- --listening-port=3478
|
- --listening-port=3478
|
||||||
- --stun-only
|
- --stun-only
|
||||||
- --no-tcp
|
- --no-tcp
|
||||||
|
|||||||
Reference in new issue
Block a user