*Distributor ID: Ubuntu
- Description: Ubuntu 20.04.4 LTS
- Release: 20.04
- Codename: focal
Product Name/Version: AMP Release “Halimede” v22.214.171.124, built 30/09/2022 14:12
I am trying to install a fresh instance of Counter Strike: Source. AMP is telling me that the instance is running and listening on the correct IP of my server. iptables states that the neccessary ports (27015 tcp/udp) are open.
But yet I can’t connect to the instance and steam states that the server does not respond:
I added a game server token in my steam account for game id 240 and pasted the token in the source server config.
I searched this forum and the web but could not find any working solution to this problem. Surely I am missing a key point here, as I am certainly not the first guy trying to host a cs:s server on AMP
Found the culprit:
I added the port to iptables via this command:
iptables -A INPUT -p tcp --match multiport --dports 27015:27050 -j ACCEPT
The problem was the -A as it appends the rules to the end of the rulechain. If you don’t know the state of your chain there may be entries that reject everything as the last rule.
So opening the ports with this:
iptables -I INPUT -p tcp --match multiport --dports 27015:27050 -j ACCEPT
Solved this issue for me. (Also I removed the server token from the instance)
I hope this solves the Issue for some people whoi came here in desperation like me