switch-lan-play icon indicating copy to clipboard operation
switch-lan-play copied to clipboard

IPv6 Support

Open RetroGamer74 opened this issue 6 years ago • 11 comments

Do you know if we could add IPv6 capability to switch-lan-play?

We have designed a server with many features, and we have detected many users have issues today to connect because of the use of CGNAT by their providers.

IPV6 is the only external IP for many users and IPV4 are indeed local IP's from the Internet Provide.

Thank you.

RetroGamer74 avatar Oct 23 '18 08:10 RetroGamer74

yes we can, if you done this please open a pull request.

spacemeowx2 avatar Oct 23 '18 08:10 spacemeowx2

Hi sorry to disturb you by email, but we're using the client and server for switch-lan-play and we're experiencing an issue very strange and we're completely exhaust trying to figure it out, and maybe you've got any idea, which is welcome.

Many people connects to our server ok. But some of them, says he can play or not from one day to other. Even one guy is using Mac built by me, with success and in the same network, he can not use the docker release.

When I say it doesn't work, I'm talking, they're able to connect to the server with the lanplay.exe client, but they're not able to see any room, or join to any match. So it looks sometimes they don't get packets.

And I don't understand why.

We thought in CGNAT.

But really don't know what else to look for. We've tested everything. Server, client, some users analyzed using Team Viewer ....

Thank you.

El mar., 23 oct. 2018 a las 10:17, imspace ([email protected]) escribió:

yes we can, if you done this please open a pull request.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacemeowx2/switch-lan-play/issues/16#issuecomment-432144353, or mute the thread https://github.com/notifications/unsubscribe-auth/AkLDRUeSewwsmreMrze9MYyKf3P7rzsAks5untCRgaJpZM4X076F .

RetroGamer74 avatar Oct 24 '18 14:10 RetroGamer74

NAT shouldn't matter the connection between the client to the server.

spacemeowx2 avatar Oct 24 '18 14:10 spacemeowx2

Do you know if is there any connections limit in the server?

Thank you. Best regards.

El mié., 24 oct. 2018 a las 16:19, imspace ([email protected]) escribió:

NAT shouldn't matter the connection between the client to the server.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacemeowx2/switch-lan-play/issues/16#issuecomment-432676972, or mute the thread https://github.com/notifications/unsubscribe-auth/AkLDRbpO1RHOZCte55wr2Um-KyKU-8guks5uoHb6gaJpZM4X076F .

RetroGamer74 avatar Oct 24 '18 14:10 RetroGamer74

Do you know if is there any connections limit in the server? Thank you. Best regards. El mié., 24 oct. 2018 a las 16:19, imspace ([email protected]) escribió: NAT shouldn't matter the connection between the client to the server. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#16 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AkLDRbpO1RHOZCte55wr2Um-KyKU-8guks5uoHb6gaJpZM4X076F .

How many people are connected to the server?

Cubuss avatar Oct 24 '18 14:10 Cubuss

Maybe it's an IP address conflict

spacemeowx2 avatar Oct 24 '18 14:10 spacemeowx2

NAT shouldn't matter the connection between the client to the server.

Hi. I'm a CGNat user. CGNat is not NAT, CGNat is Carrier Grade NAT. Basically it add a router to go out to internet. The habitual network on a house is this. Internet - My Router (nat - public IP) - Your device (Private IP) But with CGNAT this is the scheme. Internet - WAN Router (CGNAT - Public IP) - My Router (NAT - Private IP) - My Device (Private IP) With this scheme, i go out to internet with the same Public IP of other clients connected on the same CGNat Network, for example, my router have this IP: 10.148.X.X, and the public IP that show me WhatIsMyIp.com is 81.61.X.X

I tried the last day with my friend, i see him on Waiting room in Mario Kart 8 Deluxe, but the conexion it's very unstable and it throw a connection error frecuently. I have problems with CGNat with VPN like HolaVPN, WinScribe and HotSpotShield, and with other protocols like FTP and SSH.

I'm talking with my internet provider to get me out of CGNAT

crusardri avatar Nov 09 '18 22:11 crusardri

So your problem may be due to the random public IP of CGNat ? Or UDP port mapping be cutting off often by CGNat? @crusardri

spacemeowx2 avatar Nov 12 '18 06:11 spacemeowx2

So your problem may be due to the random public IP of CGNat ? Or UDP port mapping be cutting off often by CGNat? @crusardri

I think the problem is both, the public IP and Port mapping.

crusardri avatar Nov 12 '18 10:11 crusardri

So your problem may be due to the random public IP of CGNat ? Or UDP port mapping be cutting off often by CGNat? @crusardri

I think the problem is both, the public IP and Port mapping.

OK I see. I will consider this kind of network environment in later versions.

spacemeowx2 avatar Nov 12 '18 11:11 spacemeowx2

https://github.com/spacemeowx2/switch-lan-play/commit/2dc49c61f32c986a5e76c6915bf9630f91a6ab6f

IPv6 support is added in this commit. After testing I will release a new version.

spacemeowx2 avatar Sep 10 '19 08:09 spacemeowx2