Garry's Mod

Garry's Mod

View Stats:
Gmod Server Port Forwarding Help, plz
So I made my first Gmod server and I wanna be able to share it to the whole world and I saw on youtube that you need to Port Forward. Well I need help...Like I've tried so many ports, like i've tried 27015 to 27015 also tried 27015 to 27016 and it doesn't work. Also What port forward option should I do this on, cause my router has 3 options: Single Port forwarding, Port Range forwarding and Port Range Triggering. I need so much help on this
< >
Showing 1-11 of 11 comments
Xithical May 26, 2017 @ 12:43pm 
Use 27015 as the inbound port and 27005 as the outbound port on single portforwarding. 27015 is used on the client's side to communicate with the server, and 27005 is used on the server side to respond to the client.
First of all you need Good PC to run server on and don't forget you need Public or Dynamic IP
i think
Xithical May 27, 2017 @ 6:04pm 
Originally posted by Spectre:
First of all you need Good PC to run server on and don't forget you need Public or Dynamic IP
i think
First of all, a dynamic IP on a server is exactly what you don't want. You want to either have a static IP or use a service like NoIP[noip.com]. Secondly, you really only need a good PC if you're hosting more than 5-10 player spots at a time. I've run servers on my old Core 2 Duo E8400 machine for up to 10 player spots, and it worked just fine (at least until I tried running 20 player spots on it, which crashed it).
Last edited by Xithical; May 28, 2017 @ 10:21am
rodger May 27, 2017 @ 8:53pm 
Forward your ports correctly, GMod uses 27015 UDP(all source games do, actually) and you should use a trustworthy utility like portmapper,[upnp-portmapper.sourceforge.io]not that freeware crap.
Anyone who says that you need more than 1 port for a server is wrong, you only need more ports if you host more than 1 server on the same router.

So if you're trying to use your router's HTML-based port-forwarding utility then just tell it to forward 27015 UDP(using single port forwarding) and you should be fine.
Last edited by rodger; May 27, 2017 @ 8:56pm
Xithical May 28, 2017 @ 10:21am 
Originally posted by Rodger:
Forward your ports correctly, GMod uses 27015 UDP(all source games do, actually) and you should use a trustworthy utility like portmapper,[upnp-portmapper.sourceforge.io]not that freeware crap.
Anyone who says that you need more than 1 port for a server is wrong, you only need more ports if you host more than 1 server on the same router.

So if you're trying to use your router's HTML-based port-forwarding utility then just tell it to forward 27015 UDP(using single port forwarding) and you should be fine.
From personal experience, GMod does use two different ports. 27015 inbound, 27005 outbound. It caused me several headaches and a few hours of troubleshooting. I've hosted several servers for friends, and that config has worked every single time. Using 27015 for both inbound and outbound has only caused me problems.
rodger May 28, 2017 @ 11:38am 
Originally posted by Xithical:
Originally posted by Rodger:
Forward your ports correctly, GMod uses 27015 UDP(all source games do, actually) and you should use a trustworthy utility like portmapper,[upnp-portmapper.sourceforge.io]not that freeware crap.
Anyone who says that you need more than 1 port for a server is wrong, you only need more ports if you host more than 1 server on the same router.

So if you're trying to use your router's HTML-based port-forwarding utility then just tell it to forward 27015 UDP(using single port forwarding) and you should be fine.
From personal experience, GMod does use two different ports. 27015 inbound, 27005 outbound. It caused me several headaches and a few hours of troubleshooting. I've hosted several servers for friends, and that config has worked every single time. Using 27015 for both inbound and outbound has only caused me problems.
Quite unusual as I ran a server with only having 27015 forwarded using UDP just fine(might be the router, not exactly sure).
Xithical May 28, 2017 @ 11:44am 
Originally posted by Rodger:
Originally posted by Xithical:
From personal experience, GMod does use two different ports. 27015 inbound, 27005 outbound. It caused me several headaches and a few hours of troubleshooting. I've hosted several servers for friends, and that config has worked every single time. Using 27015 for both inbound and outbound has only caused me problems.
Quite unusual as I ran a server with only having 27015 forwarded using UDP just fine(might be the router, not exactly sure).
It may be because your router supports UPnP for autoconfiguring ports, which my router does not.
TokyoDoobz Mar 7, 2018 @ 11:08am 
Sorry to resurrect this post but does anyone know how to make this work on a sky hub router, I have the tried the things you have said but nothing has changed.
꧁Jay꧂ Mar 7, 2018 @ 11:47am 
Originally posted by TND1 Doobz:
Sorry to resurrect this post but does anyone know how to make this work on a sky hub router, I have the tried the things you have said but nothing has changed.
If you believe you're doing it correctly, make sure you don't have another router behind your sky hub. It has to be the main firewall.
Carrot^2 Dec 2, 2020 @ 7:55pm 
I have a FIX, set port range to 27005-27016 UDP/TCP
Last edited by Carrot^2; Dec 2, 2020 @ 8:16pm
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: May 26, 2017 @ 8:03am
Posts: 11