I went through it some time ago. Steamport is used to communicate with steam (suprising i know), if that port is closed by firewall any steam related functions will be disabled - most notably skins. Clientport is only used for communicaton with clients and defaults to 27005.
I want to have all ports of one gameserver-instance in order. If you don't assign these ports by your own, srcds will use the default (27005 for ClientPort). If that one is already used, he will increment the port by one. Same for steamport, and as far as i remember he did this regardless of -strictportbind. So not only he uses unpredictable ports, but he uses them all over the place. I use a small bash script to manage my iptables, where i only write the main port number (eg. 27045) to a text file, and my cron-started script will turn that into iptables-lines and executes them. Try that with random port numbers. Defining all ports directly will solve these problems. Am 29.06.2015 um 17:48 schrieb Absurd Minds: > What is the purpose of defining all those different ports? Eg why set > the clientport different from the hostport? And what is steamport? (The > wiki didn't really have much information.) > > On Jun 29, 2015 6:59 AM, "Ragnos" <[email protected] > <mailto:[email protected]>> wrote: > > I'm doing this on Linux, but this is how i assign my ports: > > -strictportbind +ip %ip% +hostport 27015 +tv_port 27016 +clientport > 27017 -steamport 27017 > > Note that -steamport seems buggy, atleast on Linux. It'll allocate the > specified port +1. So it uses 27015-27018. > > Also make sure the port you are trying to use is not reserved by any > other program. You might check this with a tool like tcpview. > > > Am 29.06.2015 um 10:55 schrieb Usman Khan: > > 1. Seems like -strictportbind on windows does not seem to be > > working correctly and port 27036 works but other ports are not as > > per command line. > > > > -strictportbind -ip x.x.x.x -port 27036 -clientport 26110 > > -steamport 26220 -nohltv > > > > like actual port 27036 but 26112 instead of 26110 and 26220 not > > assingned some other and many other ports > > > > 2. It opens other ports too , which are they for and how to define > > them manually? > > > > > > _______________________________________________ Csgo_servers > > mailing list [email protected] > <mailto:[email protected]> > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers > > > > _______________________________________________ > Csgo_servers mailing list > [email protected] > <mailto:[email protected]> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers > > > > _______________________________________________ > Csgo_servers mailing list > [email protected] > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers > _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
