Then, you can cd - to go back to the root directory, where you were and your. You can use Google to find this information…
If you run cd serverfiles/tf/maps/ you will end up in a directory full of bsp files. You can begin by entering your directory of your server as the user you created when using the TF2Server installer. Once you have a few, you can follow the below directions. You can find a ton of them in various indexes available on the web as well, such as here.
You can refer to you routers manual for specifics but you need to setup Port Forwarding for the inbound port, 27015 and there is no sense in going over a tutorial on this here, since there are tons of guide on the web. You will need to open the port that inbound connections will be coming on if you sit in a typical residential network with a gateway in front of your server. This will sound pretty obvious if you’ve ever ran a game server but I will mention it for completion sakes. You can even complete Step 2 while this is going in the background. The download is fairly big and can take a bit, so you can can read on and be prepared for when it’s done. There are a few other things you may want to change, you can read the rest of the page there to find out more. This should get you a working install, after working through that stuff. Wget -N -no-check-certificate & chmod +x linuxgsm.sh & bash linuxgsm.sh tf2server For completion sakes and because link rot is sometimes a thing, I will include the exact directions here: This much is pretty simple, you can follow the directions on their site and that’s all you have to do for setup.
Step 1: Getting the Linux Game Server, aka a stock install You may have luck with the Linux Subsystem for Windows 10, but I have not tried it. Some of the lessons here can definitely be used on a Windows machine, such as the files you need to place and where but the commands, scripts, etc are very Linux centric and not portable. This is for Linux, whether on a personal Linux host or on your cloud provider. I’ll leave the guide here and commentary to the end, in case you are interested in ramblings.
I had a bit of trouble setting the server up since there is very little up to date documentation on how to get it running with custom maps specifically so I figured I would try and fill the gap for those who stumble across this in the future. There are tons of community servers that run certain maps on rotation but these are not always the ones you want to play, especially if you want to play the older maps.
I was recently trying to play some custom maps with some friends on Team Fortress 2 but with some custom maps. Setting up a TF2 Server with Custom Maps using Linux Game Server