Hard Light Productions Forums

General FreeSpace => Multiplayer => Topic started by: Charismatic on March 25, 2016, 08:05:00 pm

Title: Multip. Help & Wiki & PortFwd
Post by: Charismatic on March 25, 2016, 08:05:00 pm
I want to play FSO/SCP multiplayer.
I checked these places first.
http://www.hard-light.net/wiki/index.php/Multiplayer_Getting_Started_Guide
And its link to a blank page: http://www.hard-light.net/wiki/index.php/Port_Forwarding

My interface looks like this in my Netgear router, see attachments.

So "As FreeSpace Open uses port 7808" I didn't see a simple way to add the ports.

[attachment DELETED!! by Strong Bad]
Title: Re: Multip. Help & Wiki & PortFwd
Post by: AdmiralRalwood on March 26, 2016, 09:02:36 am
Set the internal and external starting and ending ports to 7808.

That being said, you might have trouble finding someone to play multiplayer with.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: jr2 on March 26, 2016, 10:18:07 am
How hard would it be to get FSO to request that port to be forwarded by the router using uPnP?  Because, honestly, unless it's a huge pain in the neck, I'd think we would want to do that -- if we ever get a lot of multi players again (Diaspora release maybe?) that might help attract more / keep more (no one wants to ask for help setting up port forwarding, love the game, then have to explain to every friend they want to play online with how to do the same for each and every one of their particular routers!!)
Title: Re: Multip. Help & Wiki & PortFwd
Post by: Charismatic on April 06, 2016, 08:45:00 pm
Still having issues connecting to a buddy on 3.7.4 and 3.6.18 multiplayer.

This is my configured port forward.
When I am in lobby, it shows when he hosts, and vise versa when I host. But when I/he checks it shows no games. Ideas?

He suggested DMZ???

[attachment DELETED!! by Strong Bad]
Title: Re: Multip. Help & Wiki & PortFwd
Post by: [DW]-Hunter on April 06, 2016, 08:45:18 pm
I agree with JR2, this issue needs to be fixed. We have been port forwarding and DMZing all weekend and nothing seems to fix the issue. BTW Does Freespace support IPv6 because thats what I have. Maybe theres another port or something that we missed. Or a CFG file that needs to be changed. IDK
Title: Re: Multip. Help & Wiki & PortFwd
Post by: Charismatic on April 20, 2016, 05:47:40 pm
Anybody know if FSO supports IPv6?
Title: Re: Multip. Help & Wiki & PortFwd
Post by: AdmiralRalwood on April 20, 2016, 10:21:17 pm
Anybody know if FSO supports IPv6?
It most certainly does not.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: m!m on May 03, 2016, 07:21:01 am
Anybody know if FSO supports IPv6?
It most certainly does not.
No, it absolutely doesn't because it uses AF_INET which means that IPv4 is used.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: Charismatic on February 08, 2017, 11:57:02 am
SO, 7808 and 7117 forwarded ports. what about 1200-1204?
Title: Re: Multip. Help & Wiki & PortFwd
Post by: chief1983 on February 10, 2017, 02:42:15 pm
Not sure anything but 7808 is really needed to host a game.  7117 is in the codebase, but it's listed as the PXO_CHAT_PORT or something.  It isn't configurable that I can see.  I managed to get two different standalones running today, and I can connect to them both, with only configuring a distinct game port for each of them.  One is forced to 7809 and one to 7810, that way I can still host a non-standalone on 7808 from my main PC if I want to.  Both worked without hardcoding and with FS2NetD, using builds I built from master yesterday and today.  And both played a mission I joined and jumped out of without crashing.

So yeah, I don't know that any other port forwards should actually be necessary to connect, when I just did it with one port only.

Also, people have looked into uPnP before, but I'm not sure any significant progress was made.  I'm pretty sure there's never been a PR made at least.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: Charismatic on February 10, 2017, 06:39:56 pm
Well I got wxLauncher to work with the one nightly build i downloaded. I (afterwords) added a fs2open_pxo.cfg file that I just read about, put it in my /data/ folder.
But even with 3.7.5 fast debug, or 3.7.4, cannot see games, or have others join me.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: chief1983 on February 13, 2017, 11:11:49 am
The documentation recommending fs2open_pxo.cfg is outdated.  In 3.6.10 that information was moved to multi.cfg, with a different syntax.  See the post where I described how to switch to a new daemon for the MediaVPs (http://www.hard-light.net/forums/index.php?topic=87786.20).  But no one is probably using that daemon yet since the patch hasn't been made official.  Generally speaking though, the port and server that are hardcoded into FSO are the same thing that you would put into multi.cfg in all but a few exceptions such as total conversion games like Diaspora, which ship with their own multi.cfg.  You can try creating a multi.cfg in your data folder, and specifying the domain of fs2netd.game-warden.com and the port of 12000 like below, but I don't expect it to change.  Maybe try the IP itself though, in case there is a DNS issue within the game or something?

Code: [Select]
+user_server         fs2netd.game-warden.com
+game_Server       fs2netd.game-warden.com
+server_port         12000
Title: Re: Multip. Help & Wiki & PortFwd
Post by: Charismatic on February 13, 2017, 07:24:38 pm
Well if you would, add a code with IP and ill try it.
Title: Re: Multip. Help & Wiki & PortFwd
Post by: chief1983 on February 13, 2017, 08:47:54 pm
It would just be what fs2netd.game-warden.com should resolve to for you (if you see the website it's resolving correctly).  So if you see the website, I don't expect this to change anything, but currently it would look like this:

Code: [Select]
+user_server         96.31.94.82
+game_Server       96.31.94.82
+server_port         12000