
Enter your port, ensure TCP is selected and click Next. Click Inbound Rules and Create a new Rule. Open Windows Defender Firewall with Advanced Security. If you decide to change the port the instructions are the same, all you need to do is replace the default port with your chosen port. Before we start the server we need to open the port for the server. You can run your server by executing the srcds.exe which allows you to configure your server as well as provide your server details such as the port for the server. Once the server has installed you can locate it via the directory, if you didn't set a custom directory you can find it by going to C:\Users\Administrator\Desktop\steamcmd\steamapps\common\GarrysModDS. To install the actual server we have to type app_update 4020.
You can do this by using this command force_install_dir c:\Users\Administrator\Desktop\steamcmd\FOLDERNAME
(OPTIONAL & Not recommended) You can choose a custom install directory for this server. First, we need to Login to SteamCMD, the Garry's Mod Server allows you to login Anonymously, Logging into your Steam Account is optional unless you want to have a public server, you will require a steam account login which owns Garry's Mod. If you do not have it please read our other article which guides you through How to install SteamCMD. Please note: You will require SteamCMD to be installed in order to follow this guide. This article will show in-depth instructions to assist with this.
This article will show you how to install a Garry's Mod Server using SteamCMD.