[Asterisk-Users] TCP/UDP ports used by asterisk

Dan dtoma at fx.ro
Mon May 26 13:25:32 MST 2003


Thanks,
Dan

----- Original Message ----- 
From: "Tilghman Lesher" <tilghman at mail.jeffandtilghman.com>
To: <asterisk-users at lists.digium.com>
Sent: Monday, May 26, 2003 7:51 PM
Subject: Re: [Asterisk-Users] TCP/UDP ports used by asterisk


> On Monday 26 May 2003 08:44, Dan wrote:
> > Hi all,
> >
> > There is no way to find the TCP/UDP ports used by Asterisk?
> > I need to know how to configure the firewall.
>
> Do a 'netstat -tunap' on your Asterisk box and look for lines
> which contain the word 'asterisk'.  That should tell you exactly
> which ports are being used on your installation.
>
> For example:
>
> root at tweedledee:/cvs/asterisk# netstat -tunap|grep asterisk
> tcp        0      0 0.0.0.0:5038            0.0.0.0:*               LISTEN
316/asterisk
> tcp        0      0 0.0.0.0:1720            0.0.0.0:*               LISTEN
316/asterisk
> tcp        0      0 192.168.69.17:5038      192.168.98.16:53582
ESTABLISHED 316/asterisk
> tcp        0      0 192.168.69.17:33130     192.168.69.1:3306
ESTABLISHED 316/asterisk
> udp        0      0 0.0.0.0:37380           0.0.0.0:*
316/asterisk
> udp        0      0 0.0.0.0:5036            0.0.0.0:*
316/asterisk
> udp        0      0 0.0.0.0:5060            0.0.0.0:*
316/asterisk
> udp        0      0 0.0.0.0:6360            0.0.0.0:*
316/asterisk
> udp        0      0 0.0.0.0:4569            0.0.0.0:*
316/asterisk
> udp        0      0 0.0.0.0:57462           0.0.0.0:*
316/asterisk
>
> -Tilghman
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>





More information about the asterisk-users mailing list