Multiplayer IPv6

Arrange meetings with other people to play MP, announce your servers.
skaihoj
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 31, 2014 4:38 pm
Contact:

Multiplayer IPv6

Post by skaihoj »

FF#57 states that we will need a public IP address to host a multiplayer game. Is a public IPv6 address good enough, or is a public IPv4 address required?
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Multiplayer IPv6

Post by kovarex »

skaihoj wrote:FF#57 states that we will need a public IP address to host a multiplayer game. Is a public IPv6 address good enough, or is a public IPv4 address required?
IPV6 address support is on our todo list.
skaihoj
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 31, 2014 4:38 pm
Contact:

Re: Multiplayer IPv6

Post by skaihoj »

How do I know what port I'm hosting on?
tecxx
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Wed Jul 23, 2014 8:10 pm
Contact:

Re: Multiplayer IPv6

Post by tecxx »

open config.ini and search for "port"
Farisu
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Nov 26, 2014 12:18 pm
Contact:

Re: Multiplayer IPv6

Post by Farisu »

I just wanted to add that i would love to see IPv6 support added.
Not all ISPs give you your own IPv4 adress anymore and so you can't host games :( and if you are unlucky and both of you are behind a carrier NAT it doesn't work at all. Only when doing lots of other stuff like vpn etc.
immibis
Filter Inserter
Filter Inserter
Posts: 303
Joined: Sun Mar 24, 2013 2:25 am
Contact:

Re: Multiplayer IPv6

Post by immibis »

IPv6 support should not be hard to add for the developers. IIRC, all you need to do is use AF_INET6 instead of AF_INET, and sockaddr_in6 instead of sockaddr_in. There are probably a few similar easy things I forgot to mention.

And if you turn off IPV6_V6ONLY (with one slightly obscure function call) you can use the same socket for IPv4 and IPv6.
Henour
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 15, 2014 9:38 pm
Contact:

Re: Multiplayer IPv6

Post by Henour »

+1 For IPv6. My provider recently canceled Support for Portforwarding (implemented NAT on the ISP Side) so I can no longer Host games on IPv4
chrupp
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Mar 05, 2015 7:28 pm
Contact:

Re: Multiplayer IPv6

Post by chrupp »

I would love to see IPv6 support as well, as my ISP switched me over to DS-lite, too. Would be nice to be able to play MP again ;) any news on the progress?
DerTolleIgel
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sun Nov 02, 2014 2:01 am
Contact:

Re: Multiplayer IPv6

Post by DerTolleIgel »

For now we play using Hamachi, but I always feel bad about it. IPv6 support would be great
Tawsix
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Jun 08, 2015 11:46 am
Contact:

Re: Multiplayer IPv6

Post by Tawsix »

Sorry to resurrect a dead post but I'm wondering if IPv6 is still on the table, and if so is there any possibility of it making it into .12? I'm stuck behind a DS-Lite provider (literally the only one available in my area) as are my friends, so we're stuck with LAN parties for now.
keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: Multiplayer IPv6

Post by keyboardhack »

Tawsix wrote:Sorry to resurrect a dead post but I'm wondering if IPv6 is still on the table, and if so is there any possibility of it making it into .12? I'm stuck behind a DS-Lite provider (literally the only one available in my area) as are my friends, so we're stuck with LAN parties for now.
As seen in the picture below from this FFF(https://www.factorio.com/blog/post/fff-85) then it's currently scheduled for 0.13
Image

You can use Evolve to connect with your friends until IPv6 is supported
https://forums.factorio.com/forum/vie ... lve#p60826
Waste of bytes : P
Tawsix
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Jun 08, 2015 11:46 am
Contact:

Re: Multiplayer IPv6

Post by Tawsix »

Thanks, can't believe I missed that. Will also check out Evolve, really appreciate the help.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Multiplayer IPv6

Post by cube »

I really want to squeeze this into 0.12.0, but it is possible that there won't be enough time. Problem is that we still want to support Windows XP, and the easy way to make an application dual stack doesn't work there
Tawsix
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Jun 08, 2015 11:46 am
Contact:

Re: Multiplayer IPv6

Post by Tawsix »

cube wrote:I really want to squeeze this into 0.12.0, but it is possible that there won't be enough time. Problem is that we still want to support Windows XP, and the easy way to make an application dual stack doesn't work there
I have spent my money wisely. I really do appreciate your response and all the work that has already been put into this game. Thank you very much for the explanation.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Multiplayer IPv6

Post by kovarex »

IPv6 made it into 0.12, we played local IPv6 game few days ago and it worked.
User avatar
mngrif
Fast Inserter
Fast Inserter
Posts: 173
Joined: Wed Feb 13, 2013 10:44 am
Contact:

Re: Multiplayer IPv6

Post by mngrif »

kovarex wrote:IPv6 made it into 0.12, we played local IPv6 game few days ago and it worked.
Yay thank you!
My Silly Factorian Tricks
<_aD> OBSERVE SIGNAL ASPECT BEFORE CROSSING TRACK
Scar
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jul 20, 2015 12:28 pm
Contact:

Re: Multiplayer IPv6

Post by Scar »

It seems that there is a problem in the newest update with the IPv6. Everytime I try to host or connect to a server (even with an invalid IP), I get this error: "Binding IPV6 socket failed: An operation was attempted on something that is not a socket.". It's obviously related to IPv6 and might be related to Windows XP.
factorio-current.log
Apotheosis
Inserter
Inserter
Posts: 20
Joined: Tue Sep 02, 2014 5:48 pm
Contact:

Re: Multiplayer IPv6

Post by Apotheosis »

Just chiming in I'm getting the same problem as the above poster here. Running on Windows XP and IPv4 myself.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Multiplayer IPv6

Post by cube »

Post Reply

Return to “Multiplayer”