User:Webb/Steam dedicated server: Difference between revisions
From TF2 Classified Wiki
More actions
Add SDR clarification |
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 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. | 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 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 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 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. | ||