Coturn: How can I use coturn on AWS EC2 or GCP VM when client is IPv6?

Created on 28 May 2020  路  7Comments  路  Source: coturn/coturn

Only IPv4 (LTE) can use TURN / STUN server,

but IPv6 (5G) can't use TURN / STUN server.

How can I solve this problem?

Do I have to use load balancer?

I installed coturn on EC2 and VM, but IPv6 user can't access to it.

Please help me...

Most helpful comment

@sdjksdafji I didn't setup ipv6 things on EC2, VPC and ELB.
Just create EC2 and VPC configure ipv4 (not ipv6) and Elastic Load Balancer(ELB) will automatically transform ipv6 to ipv4 and send data to EC2.

All 7 comments

@DevRockstarZ Hi Patrick, I have the same issue with ipv6 only netowrk (5G), how did you solve the issut?

Thanks in advance

I used AWS Elastic Load Balancer to use ipv6 network.
I just created AWS EC2 and configure EC2 with ELB.

@DevRockstarZ I suspect the same thing but I have not verified end2end. Have you verified that after adding ipv6 listening, the issue of not connecting under 5G has gone?

@sdjksdafji I didn't configured ipv6(by VPC) on ELB and EC2.
I tried to configure ipv6, but it occured error.
So I configured default VPC and EC2 and ELB.
And I tried with by 5G device and LTE device, it worked really fine.

@DevRockstarZ Thanks for the information, but I am confused about your description. Did you setup the ipv6 for the coturn server eventually?

I am trying to figure out if the root cause is the ipv6 only network in 5G. My observation is that at least the http request to ipv4 works fine in the ipv6 only (5G) network.

I did setup the ipv6 on ec2 but I don't have access to the 5G network myself. I am waiting for my colleague to do the test to see if it works.

@sdjksdafji I didn't setup ipv6 things on EC2, VPC and ELB.
Just create EC2 and VPC configure ipv4 (not ipv6) and Elastic Load Balancer(ELB) will automatically transform ipv6 to ipv4 and send data to EC2.

@DevRockstarZ Thanks. This makes sense. Glad to hear that the root cause is ipv6.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diegobill picture diegobill  路  9Comments

law picture law  路  3Comments

colin-liu picture colin-liu  路  9Comments

davefej picture davefej  路  4Comments

simon-india picture simon-india  路  4Comments