Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Dec 2009
    Posts
    13

    Default Ports blocked for users not for root?

    Ok weird situation I've been fighting with. If I long into my server using SSH as root then I can create steam based servers and the ports aren't blocked at all. Yes the ports have been added to csf to the allow inbound and outbound.

    Now if I use CpanelGS and create a server and assign that server to a user the server will start up and shows everything is fine but when browsing on steam or trying to directly connect to it nothing shows up at all.

    I'm assuming this has something to do with permissions of that user of the firewall not allowing regular users content through the filter but I have no clue what it could be.

    Anyone have any ideas?

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Check `dmesg` output to see if it has any logging rules reporting from iptables there. Some servers setup ports other than the primary connect-to port dynamically (most steam games) so while it works on the first server, another server is hitting different ports and getting blocked. To make sure it's a firewall issue, drop the firewall entirely while you start and play/whatever on the server, then bring the firewall back up once you see if that was the problem. Adding logging to all drop rules while debugging firewall problems can make it much much easier to find the problem.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  3. #3
    Member
    Join Date
    Dec 2009
    Posts
    13

    Default

    I'm working on a new server right now just did a install of cpanlgs and for sure the right ports are open. I created a user account and installed tf2 I'm receiving this error

    [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient

    any clue how to fix it

  4. #4
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    I may need to sticky a thread about that warning message. It's not a bug nor an error, it happens AFAIK on all linux servers, it's the steam client trying to load a Windows DLL that obviously won't exist on Linux. cPGS does not use built-in steam updates regardless, it calls the steam binary manually before each server start, if "autoupdate" is enabled.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  5. #5
    Member
    Join Date
    Dec 2009
    Posts
    13

    Default

    well this is the problem If I drop out to SSH as Root then I can load up a game on steam, but if I'm logged in from the user interface then when I start the server nothing appears. I've verified the firewall ports and they are open correctly.

  6. #6
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    If you are starting the server as root via ssh from the same place that cPGS us using (the client install) then it will be creating files that only root can write to. If that's the case, a careful recursive chown should fix it, for example, if the user is "timmy", the server is cstrike and install # is 0, as root via ssh :

    cd /home/timmy/.gameservers/
    chown -R timmy:timmy cstrike_0

    then try starting it from inside cPGS. If you start it as root from there again you'll have to chown the files back again. If none of this seems to be helping, put in a ticket with the relevant details and I'll see if I can figure it out.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  7. #7
    Member
    Join Date
    Dec 2009
    Posts
    13

    Default

    that did it, I have one last question.

    The only way I can find the server on steam is by going to favorites and adding the ip and port then it'll display in favorites but just looking for the server it wont list. Any clue whats causing that?

  8. #8
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Not getting listed on the master-list servers is almost always due to a firewall blocking the outgoing ports to the list servers. For cstrike I think it's port 27038 outbound but not 100% sure. Again if it's one of these issues that might be a firewall problem, try turning off the firewall entirely while you test the server to see if it corrects the problem.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

Similar Threads & Tags
Similar threads

  1. Ports Blocked For cPanel
    By MattWT in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-04-2010, 08:49 AM
  2. cPHulk Brute Force blocked root because of server IP
    By martynh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-29-2009, 02:14 PM
  3. Root login Blocked
    By LovelyNetworks in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-01-2007, 08:21 AM
  4. Change the "Always redirect users to the ssl/tls ports" from Ssh
    By equens in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-31-2007, 05:55 AM
  5. Ports blocked on server reset?
    By mark1hos in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-17-2005, 05:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube