This is an open source development repository of Official Kgb2d Ranked server.
1. Copy all the files to your CS2D root directory.
2. Check out serverinfo.txt and edit for your needs.
sys/serverinfo.txt
3. Check out servertransfer.lst and edit for your need.
sys/servertransfer.lst
4. Check out server.cfg and edit for your needs.
sys/server.cfg
sudo iptables -A INPUT -p udp -m length --length 0:30 -j DROP
sudo iptables -A INPUT -p udp --dport 36963 -m connlimit --connlimit-above 65 -j DROP
sudo iptables -A INPUT -p udp -m limit --limit 10/second -j ACCEPT
sudo iptables -A INPUT -p udp -m limit --limit-burst 50 -j DROP
sudo iptables -A INPUT -p udp -m multiport --dports 500,1194,4500 -j DROP