help with cs2 server

I opened some ports for a cs2 server and then made an A record to my ip without a proxy, when I try to connect to the server through my public ip it works, but when I try through the domain it doesn't the domain also works on port 80 which I also have open
21 Replies
Isaac McFadyen
Isaac McFadyen2mo ago
You can't use Cloudflare's proxy with CS2. You'll need to turn off the proxy (the little orange cloud should be gray instead) but keep in mind that will expose your server's IP to anyone who wants to know it.
crazykazoo
crazykazooOP2mo ago
I turned it off as I said in the post
Isaac McFadyen
Isaac McFadyen2mo ago
Can you give the domain? Hard to troubleshoot further without checking the record.
crazykazoo
crazykazooOP2mo ago
yoavco.com the ports for cs2 are 27015 and 27016 mainly just 27015 tho
Isaac McFadyen
Isaac McFadyen2mo ago
Is your IP 77.126.11.187? If so then the record is working - any reason for not being able to connect wouldn't be related to Cloudflare.
crazykazoo
crazykazooOP2mo ago
that is my public ip yes that is very weird tho, in-game I can connect using the public ip but not the domain maybe something with how the game gets the IP?
Chaika
Chaika2mo ago
have you tried from an external network? Hairpinning and such can make testing from internally be weird
crazykazoo
crazykazooOP2mo ago
oh I'll try
Chaika
Chaika2mo ago
I see 80 open but nothing on the other two
PORT STATE SERVICE 80/tcp open http 27015/tcp closed unknown 27016/tcp closed unknown
and also external source query doesn't work
crazykazoo
crazykazooOP2mo ago
try on my public ip
yabbeh
yabbeh2mo ago
i get this same result on 77.126.11.187
crazykazoo
crazykazooOP2mo ago
that is very weird
Chaika
Chaika2mo ago
hosting on your personal internet connection is a bad idea for a million reasons and silliness with NAT/CGNAT/Port Forwarding is one of them
crazykazoo
crazykazooOP2mo ago
I am not behind a CGNAT and I did set it to forward the ports on my router I specifically moved to an ISP which doesn't use CGNAT
Chaika
Chaika2mo ago
and port forwarding is still iffy did you do both tcp/udp for 27015?
crazykazoo
crazykazooOP2mo ago
ye yeah if i try to connect to my public ip from outside it doesnt work only from inside the ports should appear open now ok I managed to make myself able to connect through the public IP from outisde
Chaika
Chaika2mo ago
yea that looks better and can be queried via hostname/port: https://sourcequery.yepoleb.at/query?server=yoavco.com%3A27015
crazykazoo
crazykazooOP2mo ago
btw thanks for everyone here is there any way to make it work with a proxy? (preferably without having to pay money)
Chaika
Chaika2mo ago
With normal proxy? Only Spectrum Enterprise which is $$$ There's Zero Trust which you could use for free up to 50 users but they'd have to install and run cloudflared or warp to be able to connect, so only really works for private servers
crazykazoo
crazykazooOP2mo ago
at this point aws proxy would be cheaper no? and zero trust is not really for my usecase
Chaika
Chaika2mo ago
no clue what their pricing is but if it's not locked behind a contract with a minimum it's probably way cheaper to start with but probably more expensive for lots of bandwidth. AWS gets you on bandwidth, and probably DDoS protection is an addon
Want results from more Discord servers?
Add your server