There should be an entry somewhere for DNS Servers. To get the ones you need, you can log into your Router's Webpage, and then view the Stats of your router. Now, you have to fill out the DNS Server addresses. The Subnet Mask is the one you got from your ipconfig. Let's say, your actual IP address is 192.168.2.255 (see what I did there?). It should be very similiar to your actual IP address. The IP-Address you insert is the static one. Doing this should automaticly tick "Use the following DNS-Serveraddress:" After you have done this all, tick "Use the following IP-Address". Double-click "Internet Protocol Version 4", and you should enter the IP Settings of it. You should see a list of which Elements your connection uses. Look at the upper left corner of the window, and click on "Change Adapter Settings".Īfter this, right click on "LAN-Connection", and then click on "Properties". You should enter a window that shows your Networks, and " -> More Networks -> Internet". Then, search the "Network and Internet" entry, and click on the button which should say something like "Show Network status". Next, open your start menu, and click on "Control Panel". Then, search the IPv4 Address of the Ethernet-Adaptor LAN Area or something like that, the Subnet Mask, and the Default Gateway. Open up your command prompt, and run the command "ipconfig /all" without the quotes. Setting up a static IP address is explained below. This step is entirely optional, it is not crucial for making anything work about your server. Start up the port forward, and you're done. You can set the Service Port as 27015-27016(Use 27015 only if only one port is required), the IP Address your IPv4 Address, and the Protocol "Any" or "All" or "TCP/UDP" (Again, depending on your router page).ĩ. For this, find a section for forwarding ports (it's different on all router pages), and fill in all required values and information. If possible, use the default login "admin", for username and password.Ĩ. If you don't know the information, ask anyone who knows it or might know it, or look it up on your router box. Enter the login information for your router. A login screen should appear, either a windows screen or a website login page.ħ. Open up your web browser, type in the default gateway into the URL bar, and press enter. ![]() When you found it, look up the Standard Gateway of that section, and remember it in any way.Ħ. Search the "Ethernet Adaptor LAN" section.ĥ. A list of IPs, IDs and whatnot should appear. In the command prompt, type "ipconfig" and press ENTER.Ĥ. Go to your desktop and open up your start menu.Ģ. Port forwarding will not make your router settings accessible from anywhere, it will only make it possible for everyone to join your server, which is hidden behind a router wall.ġ. This is because nobody but you, at the moment, has the permission to connect to your host. When they try to join by joining your game, it will kick them because they "failed after 4 retries". The server will not respond to your friends. The server seems to run, and you are able to join, but something else is missing. And you can put in some different console commands which you want to be "autoexecuted"Note that this is just an example to show you how a proper config file looks like syntactically. "sbox_playershurtplayers"-"1" //Enables PVP Damage "hostname"-"My Garry's Mod Sandbox Server" Replace the lines with blank spaces, or press "TAB" around 6 times to make a big space. The lines are used to make big spaces, since using blank spaces does not work in Steam. ![]() ![]() This file is located here: drive name:/Program Files(x86)/yourfilepath/blah/steamcmd/garrysmod/cfgĪn example of a server.cfg file would look like this: This file is used to set the Sandbox limits, and to set all console commands that are getting automatically executed when the server is booting up. Now, we have to configure it, to make it work properly and to keep things organized.įirst thing you should do, is to configure the server.cfg file.
0 Comments
Leave a Reply. |