Team Fortress 2 – How to Enable Connection to Local Server

Team Fortress 2 – How to Enable Connection to Local Server 1 - steamlists.com
Team Fortress 2 – How to Enable Connection to Local Server 1 - steamlists.com

Long story short: Put -enablefakeip in your advanced launch options, then launch a server and look in the console for an IP that you can send to your friends. Basically skipping the port forwarding that is impossible for a lot of people myself included
 
 

Slightly longer version.

Go into your library and right click on TF2
 
 
Team Fortress 2 - How to Enable Connection to Local Server - Slightly longer version. - 1E3483D
 
 
Go to properties and in the first tab general put
 

-enablefakeip

 
in the advanced launch options.
 
 
Team Fortress 2 - How to Enable Connection to Local Server - Slightly longer version. - E179EED
 
 
Go ahead and launch TF2, open the console. On the game startup it should say that it’s requesting a fake IP.
 
 
Team Fortress 2 - How to Enable Connection to Local Server - Slightly longer version. - 039EB75
 
 
Now launch your server by whatever means you’d like to do that with.
 
Once you’re in the game, look in the console again.
 
 

The first map you load when you do this won’t have non-default items on because the connection on item servers won’t go the first time for some reason. Just start the server again to fix this.

 
 
Copy the IP after “FakeIP allocation succeeded:” with the port.
 
Send this IP to whoever you want to connect and they should be able to pop right in.
 
Please note that you can’t connect off steam by hitting “Join game”. I don’t know why, it just doesn’t work.
 

 
 
 

What’s going on

-enablefakeip is a launch option that tells TF2 to use the Steam Datagram Relay (SDR). How it works is as far as I know similar to what a VPN does, and it’s more documented on the Steamworks website – [steamgames.com] .
 
 
The reason it’s useful for launching our server is because it bypasses the normal need to port forward our public IP so others can connect. A lot of us, simply put, are not the administrators of our own network or otherwise not capable of port forwarding. Since the server is running off of your own computer, it can be extensively configured exactly how you want, with sourcemod and the like.
 
The launch option was added on the September 16, 2021 Patch – [teamfortress.com] 
 
 
Note that, now that we’ve opened our server to the public, anyone who has the IP can join, and I have had instances where that means random people surfing the community server browser connected to my server. If you don’t want this to happen, you should add sv_lan 1 to your autoexec, or +sv_lan 1 to your launch options, and then type sv_lan 0 in the console whenever you launch your server for the public.
 
 

 
 
I hope you enjoy the Guide we share about Team Fortress 2 – How to Enable Connection to Local Server; if you think we forget to add or we should add more information, please let us know via commenting below! See you soon!
 
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*