eukara / freecs

Clean-room Counter-Strike 1.5 in QuakeC, using Nuclide SDK. Previously known as OpenCS! (2016)
https://www.frag-net.com/projects.html
ISC License
183 stars 16 forks source link

dedicated server questions #41

Open atomGit opened 3 months ago

atomGit commented 3 months ago

@eukara - if/when you get a chance, i'd really appreciate if you could have a close look at my config and provide any feedback you might have

the object is to have a fully functioning cstrike server that is reasonably secure

this all seems to work, it's just a matter of tuning it

user group & permissions:

# useradd --system -U -s /usr/bin/nologin fteqw
# chown --recursive fteqw:fteqw /usr/share/games/halflife/*
# chmod --recursive u=rw /usr/share/games/halflife/*
# chmod --recursive g=r /usr/share/games/halflife/*
# chmod --recursive o= /usr/share/games/halflife/*
# chmod u=rx /usr/share/games/halflife/fteqw-sv64
# chmod g=r /usr/share/games/halflife/fteqw-sv64

cstrike/server.cfg:

hostname "FreeCS Test Server"
set sv_public 0
set deathmatch 1
set coop 0
set maxplayers 16
set timelimit 20
set pausable 0
map de_dust2

unit: ExecStart=/usr/share/games/halflife/fteqw-sv64 -nohome -readonly -game cstrike -svport 64444