Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Webb/Steam dedicated server: Difference between revisions

From TF2 Classified Wiki
Webb (talk | contribs)
No edit summary
Webb (talk | contribs)
Add SDR clarification
Line 17: Line 17:
* At least 25GB of free storage
* At least 25GB of free storage
* A minimum of a ten megabit upload speed if you intend on hosting a server over the Internet, more will be needed if you host custom content
* A minimum of a ten megabit upload speed if you intend on hosting a server over the Internet, more will be needed if you host custom content
* ''Optional'': An opened port on your firewall for the server if you want a persistent IP address
* ''Optional'': An opened port on your firewall for the server if you want a persistent IP address (see [[#Disabling the Steam Datagram Relay|this section on disabling the Steam Datagram Relay]])
* ''Optional'': An SSH/SFTP client if doing remote access/file management
* ''Optional'': An SSH/SFTP client if doing remote access/file management
* ''Optional'': A port that's been forwarded for the server if you wish to have it accessible over the internet


<sup>*</sup> This guide was written for and tested on Ubuntu Server 24.04 LTS Minimal. Other distros may use different package names and conventions.
<sup>*</sup> This guide was written for and tested on Ubuntu Server 24.04 LTS Minimal. Other distros may use different package names and conventions.
Line 267: Line 266:
# systemctl enable tf2c # in case you need to start the server to boot as your system initializes  
# systemctl enable tf2c # in case you need to start the server to boot as your system initializes  
</pre>
</pre>
== Extras ==
=== Disabling the Steam Datagram Relay ===
By default, the dedicated server will use the Steam Datagram Relay. It masks your server's IP address and helps prevent DDoS attacks. However, this comes at the cost of latency and using ephemeral IP addresses for your server, the latter breaking server favoriting.
You can disable this by adding <code>sv_use_steam_networking 0</code> to <code>classified/tf2classic/cfg/default.cfg</code>. You should also manually assign a port to the server adding the <code>-port</code> argument to the server launch command. You will need the assigned port forwarded in your router and allowed in your firewall.


== Troubleshooting ==
== Troubleshooting ==