tiny-csgo-server icon indicating copy to clipboard operation
tiny-csgo-server copied to clipboard

Binding to selected IP

Open toorisrael opened this issue 3 years ago • 1 comments

Is it possible to bind server to only one, selected IP address? I've read this, which suggests it's not possible.

toorisrael avatar Sep 04 '22 16:09 toorisrael

I have never tried to bind a specific ip address when using socket. But there are many other implementations that can have the same effect. If the os level can't correctly apply the address and port filter, you can just write your own filter in the program.

You can also try to initialize this endpoint with a specific address to see if this can restrict the receiving address. https://github.com/yourmnbbn/tiny-csgo-server/blob/570610583ed1cfdc75fb3119681dd02acffb4de0/src/server.hpp#L87

yourmnbbn avatar Sep 05 '22 02:09 yourmnbbn