Counter-Strike: Source

Counter-Strike: Source

View Stats:
Dregdom Sep 8, 2022 @ 2:59am
Dedicated Server Port Forwarding
Hi!

I've been trying to figure it out, but nothing works for me.. I have followed every tutorial on which ports to open and all that, this is my last resort I have a public IP and my other stuff like Xampp and Emby works like a charm!

My router is a: TP-LINK Archer C80.

Some guides suggests to open a range of ports, but my router won't allow this? I can assign one trigger port too a range of external ports only. Also I've tried to add all ports (those range ones) manually, but then I run into a limit for port forwarding.

I can see my server on LAN, but using my public IP on WAN, no dice..

Hope someone has the answer. ♥️
< >
Showing 1-8 of 8 comments
[N]ebsun Sep 8, 2022 @ 4:27am 
You only need 1 port open - the port that the game is running on.
Setup port forwarding on your router for port 27015 (or whatever port you use) to the private IP of the host running the server (eg: 192.168.1.50)

If you are still having trouble, check that your ISP does not use CGNAT
Dregdom Sep 9, 2022 @ 12:12am 
Thanks mate! Didn't do the trick though.. I'll have to contact them then. :)
lightwo Sep 11, 2022 @ 11:31am 
Did you ask someone else to try to join the server?

If it works immediately, you're set. If you get the "LAN-restricted/type C" error, it is a sign that port forwarding was successful — but don't let that deceive you, in most cases sv_lan isn't the cause; it usually means the server failed to bind to that port, or something else is bound to that port already.
[N]ebsun Sep 11, 2022 @ 3:06pm 
also check the startup command line - set the ip to 0.0.0.0 to bind to all interfaces
something like

-master -secure -console -game cstrike -ip 0.0.0.0 -port 27015 -clientport 27005 -maxplayers 64 +fps_max 1000 +sv_pure 1 +sv_lan 0 +map de_dust2
Last edited by [N]ebsun; Sep 11, 2022 @ 3:12pm
Dregdom Sep 12, 2022 @ 5:25am 
Thanks all! No fixes works, unfortunately.. :)
Dregdom Sep 12, 2022 @ 5:27am 
And btw, when testing, my laptop is on cellular connection - so nothing there. When on Wifi- the server works on LAN. :)
Dregdom Sep 12, 2022 @ 5:41am 
*update* on lan the ip is: 192.168.0.105:27015 So the port is right i guess. Now it must be port forwarding, right? Mabye the CGNAT thing. :)
Dregdom Sep 12, 2022 @ 8:28am 
IT WORKS! Thanks guys. <3

The fix, at least what made it work:
I did what [N]ebsun wrote, but changed ip to the servers own ip eg. 192.168.0.105, that did it!
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Sep 8, 2022 @ 2:59am
Posts: 8