Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Palerm0
New Contributor

Port 2000 and 5060 open by default (How to close)

Hi,

A pen test on our outside IP shows us that port 2000 (Cisco Skinny Clients (IP Phones)) and 5060 (Session Initiation Protocol).

We don't need those ports. And our security office wand to close these ports.

We are running on software version: v5.4.5

The configuration change we did to close port 5060:

conf global
config system session-helper
delete 13
end

And for port 2000 we used the following:

conf vdom
(vdom) # edit Firewall
# config voip profile
(profile) # edit default
(default) # config sccp
(sccp) # set status disable
(sccp) # end

 

But unfortunately this did not close the ports.

Does anyone has a suggestion to close these 2 ports.

 

I hope someone can help me. Thanks in advance.

Greetings Palermo

13 REPLIES 13
emnoc
Esteemed Contributor III

Did you  run a diag to look at active ports

 

e.g

 diag  ip udp list | grep 13C4

 

NOTE port numbers are in  HEX value

 

 

Ken

 

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
jweill
New Contributor

I disabled SIP ALG but these ports still show as open on a 60D with firmware 5.6.3

ispcolohost

Palerm0 wrote:

 

A reboot is not necessary, Clearing the sessions worked for us:

diagnose sys session filter
diagnose sys session filter dport 5060
diagnose sys session clear
diagnose sys session filter dport 2000
diagnose sys session clear

It may help others :)

 

Greetings

Palermo

 

Thanks for this!  I found that in an HA environment, the disabling effectively never occurs because a reboot just passes the sessions back and forth.  This cleared them for me and the behavior then finally changed.

marco_d
New Contributor

Palerm0 wrote:

 

But unfortunately this did not close the ports.

Does anyone has a suggestion to close these 2 ports.

 

I hope someone can help me. Thanks in advance.

Greetings Palermo

Hello my name is Marco,

i am looking for a solution for the same problem. But we have some IP weher we use that ports

so i am looking for a solution to block these ports for speacial ip´s. We are running 5.4.9 on a 240d

 

Thanks and regards

Marco

 

Labels
Top Kudoed Authors