ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
774 stars 69 forks source link

Public IP configuration problem (Dedicated server) CS2 #3555

Open loxorld opened 10 months ago

loxorld commented 10 months ago

Since the update to cs2, the -ip command has stopped working in the dedicated servers branch. Currently the server uses the primary IP, without being able to use alternative IPs. In the same way as when setting up a dedicated server on a specific port, the process starts on all the IPs assigned to a machine. 390fb1f179c5b01f3a4b16bdc6dc1a31 This blocks the use of that specific port on the entire computer, leaving the other IPs on that port useless.

MathewG7 commented 10 months ago

I currently have the same problem, I can't get an alternative ip to work (windows)

pedrotski commented 10 months ago

This isn't a CS2 bug, this is more about how your network is set up. Here is some further reading for Linux/docker - https://github.com/pterodactyl/panel/issues/459

I'm not sure how you would fix this on Windows

MathewG7 commented 10 months ago

This isn't a CS2 bug, this is more about how your network is set up. Here is some further reading for Linux/docker - pterodactyl/panel#459

I'm not sure how you would fix this on Windows

In Windows there is no way to solve it,

ady2324 commented 9 months ago

need a fix is a CS2 bug other steam games dosent have this problem pls make a fix

hobsRKM commented 9 months ago

Yes this is a bug, alias ips are not working correctly for me to. Always binds to 0.0.0.0 despite giving -ip

duncosta commented 9 months ago

Same here

MathewG7 commented 8 months ago

Yes this is a bug, alias ips are not working correctly for me to. Always binds to 0.0.0.0 despite giving -ip

Yes, in addition to not working, it blocks the port on all other ips on a server. That is, if you have a physical server with 10 ips, the port is blocked on all ips.

RyanBlakeIT commented 3 months ago

I'm having this same issue on linux. It's binding the server to 0.0.0.0 for UDP traffic, so even with multiple IP addresses bound to the same server, cannot use 27015 more than once, which defeats the purpose of having multiple IP addresses for game servers. NOTE: I'm not using docker, I'm using LinuxGSM.

ToHold commented 3 months ago

Same here on debian 12 did you find a fix ?

RyanBlakeIT commented 3 months ago

It looks like Valve is aware of and will be fixing this in a later release (Valve Time[TM]): https://www.reddit.com/r/GlobalOffensive/comments/1d1yxz5/comment/l5xj684/

deff-dev commented 3 months ago

Any news? I have this problem with Ubuntu 22.04. Maybe any iptables rules?

ady2324 commented 1 month ago

The problem still exists??

csoyuncu commented 1 month ago

how can i fix this problem at linux ?

csoyuncu commented 1 month ago

The problem still exists??

yes.... and no one wants to solve this problem.

Gawnz1 commented 1 month ago

From: https://www.reddit.com/r/GlobalOffensive/comments/1d1yxz5/comment/l5xj684/?rdt=57308

FletcherDunn 3mo ago Thanks, I don't think that was intentional to change that. I think we should be able to fix this.

Should we wait one year more or two? I don't know what you guys are doing, but I see very small progress for that one year which you released this BETA game.