User:Webb/Steam dedicated server: Difference between revisions
From TF2 Classified Wiki
More actions
No edit summary |
No edit summary |
||
| Line 271: | Line 271: | ||
=== Disabling the Steam Datagram Relay === | === Disabling the Steam Datagram Relay === | ||
By default, the dedicated server will use the Steam Datagram Relay. It masks your server's IP address | By default, the dedicated server will use the Steam Datagram Relay. It masks your server's IP address, helps prevent DDoS attacks, and allows you to run a server without port forwarding or configuring firewalls. However, this comes at the cost of added 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 by 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. | 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 by 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. | ||