Opening ports problem

cbwass

Well-Known Member
Mar 29, 2002
149
0
316
Anybody have any ideas why after opening a port in APF firewall it does not work?

I am trying to enable port 6655 in APF firewall but it does not work.
I configure 6655 in APF 'IG_TCP_CPORTS', and restart APF.
When I look in iptables status I see that 6655 is listed as ACCEPT
When I do 'netstat -an' 6655 is NOT listed as listening all other open ports are listed.
I have flushed, stoped, restarted iptables.
I have looked in /etc/sysconfig/iptables-config and it seems OK.

I am having the exact same problem on 5 servers some useing csf firewall also.
 

Manuel_accu

Well-Known Member
Jun 19, 2005
191
0
166
when you use netstat -an, it shows only LISTENing port not all open ports in your server.

If you are running some daemon or serivice or program then it will listen that port and will show in netstat. you need to user comamnd #nmap to check for open ports.

Thanks,

Mitul S.