Feature Request: Change port number
-
Resxt is there a way to disable UPnP in Plutonium so I can just manually forward the ports needed and change what the port nunbers are with net_port config setting?
-
Just pretend UPNP isn't there.
-
trymeout Unfortunately, I do not believe you can disable upnp for the client. It could added as a feature to disable upnp maybe via a launch flag but currently to my knowledge such a thing wasn't added.
If you really need to change the port I recommend hosting a dedicated server instead. Dedicated servers do not use upnp so you won't have to disable it manually on your router. You can still do anything a client host can do you just have to launch the client before running the dedicated server, and you may need to use the -lan launch flag if you don't want a server key.
-
JezuzLizard if you could add a disable upnp flag that will be most apprecated, even if it is something like seta disable_upnp. Hopefully if UPnP is disabled and I changed the port number to a port number I forwarded, I then can host private matches.
Is there a way to run a server in a container (docker or podman) and set the container volume to the game folder?
Is it possible to run a server on bare metal linux even if it requires the game and using wine?
And if you choose to run the server with no server key, can anyone join the server outside your local area network?
-
trymeout I believe there is a forum post about someone getting T6 to run in a container, perhaps there is one for T4 as well.
You can run T4 on linux using wine again there might be a guide on the forums but you might have to dig for it.
Servers with the -lan flag are only effectively in an offline mode; they do not authenticate to the backend and cannot be joined by online clients so every client that wants to join will have to switch from play to lan by clicking the up arrow in the launcher.
-
You don't have to start the server in lan if you don't want to use a server key. It and all clients can stay in online mode.
-
Can you run a T4 server and the T4 client (game) at once on the same PC?
-
Xerxes What is the purpose of the server key? Is it to have your server displayed in the master server list?
-
trymeout yes
-
trymeout said in Feature Request: Change port number:
So if I port forwarded port 22222 and change net_port in the config to 22222, it will display in the F10 network menu as port 0, but port forwarding should work and I can host a private match?
By changing the net_port value in the config to a port nunber that is forwarded does work. When I press F10 it still shows UPnP being disabled and the port nunber being 0.
I would like to suggest a feature request to show the port number (in my case it will show port as 22222 in the F10 Network menu) if the port is open when UPnP is disabled for clarity. Otherwise like myself, one will be confused and have issues troubleshooting their port forwarding setup.
I would also like to suggest a config setting to disable upnp such as disable_upnp which will disable UPnP form being used at all. And in the F10 Menu it will display UPnP as "Fully Disabled" when set to 1. This will enhanced the security since UPnP is not the most secure way to port forward.
-