port-detection

Discussion in 'Server Operation' started by neogate, May 20, 2007.

  1. neogate

    neogate New Member

    hy guys...
    short question... big problem...

    I just wanna start a dedicated server of css on my debian-server, opened all ports shown on the steam hp but the server couldn't connect to the master-server of steam.

    So my problem is quiet an easy one... are there any solutions for getting the ports which a program wants to start on my debian to open them?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's a server of css and a master-server of steam? :confused:

    Do you use a firewall on your Debian system? What's the output of
    Code:
    iptables -L
    ?
     
  3. neogate

    neogate New Member

    css means "Counter Strike Source", and Steam is a provider to login to the game...

    iptables isn't available on my server because it is a virtualized system on the internet (V-server)
    I have a firewall on a virtualized pannel from my provider

    the master-servers are the login-server of steam...

    so the ports are

    UDP 1200
    UDP 27000 to 27015 inclusive
    TCP 27030 to 27039 inclusive

    and they are opened in the same way on my virtual firewall...
    there should be another port wich I want to detect... so is it possible to detect the ports from any applications who wants to start?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    netstat -tap
    and you'll see which ports are in use (sometimes there's no number in the output, but something like *:mysql). You can then look up the port in /etc/services (e.g. mysql is port 3306).

    You can then adjust your firewall.
     
  5. neogate

    neogate New Member

    thx... thats it...

    fixed firewall-rules and it works
    :)
     

Share This Page