Is directadmin blocking ports?

madwolf

Verified User
Joined
Jul 7, 2008
Messages
5
Hello,
is directadmin blocking any ports?

I have debian 4.0 + directadmin. I wanted to install counter-strike server running on port 27015. Everything goes well, I run the server:

Console initialized.
scandir failed:/home/serwercs/hlds_l/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
Server IP address xx.xx.xx.xx:27015
"maxplayers" is "22"


but when I do nmap I get:


Not shown: 1667 closed ports
PORT STATE SERVICE
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
113/tcp open auth
143/tcp open imap
443/tcp open https
587/tcp open submission
777/tcp open unknown
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql

Nmap finished: 1 IP address (1 host up) scanned in 0.227 seconds


port 27015 is closed and I'm unable to connect with counter-strike.

s1:/home/serwercs/hlds_l# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Is directadmin blocking some ports or am I doing something wrong?
 
Directadmin does not close any ports whatsoever. You need to run:

netstat -na | egrep -i '27015|list'

To ensure it is even listening on the port.
 
Listening for udp packets I think:

udp 0 0 0.0.0.0:27015 0.0.0.0:*

as it should...

any other ideas what can be blocking it?

---

wait a minute... other ports have state=listen specified, but there is no state on this port...hmmm...

---

ok, problem solved. It was conectedwith counter strike server and had nothing to do with directadmin. Sorry for the trouble.
 
Last edited:
Well udp doesnt actually listen the same as tcp connections. I forgot that games use udp.
 
Back
Top