Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Network Security: Firewall, NAT, QoS, IPS and more

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-25-2009, 09:37 PM
warchild's Avatar
Junior Member
 
Join Date: Aug 2008
Posts: 5
Default Astaro SIP Features

We have an internal SIP server using Asterisk in our office, all of our staff use these phones without issue (inside the office).

What we would like to do is have it so people with external SIP capable devices can also use your SIP server.

I have setup the SIP features in our Astaro, with the SIP server been our SIP servers public facing IP address.

I have then made the allowed SIP networks, ANY.

When I attempt to use a SIP device that is out on the internet I can see in the Asterisk logs that it registers but then straight away disconnects, its like it has only incoming communication with the SIP server.

Any suggestions on how this should be setup?

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-26-2009, 04:19 AM
warchild's Avatar
Junior Member
 
Join Date: Aug 2008
Posts: 5
Default

From the online Manual in the Astaro "The Session Initiation Protocol (SIP) is a signalization protocol for the setup, modification and termination of sessions between two or several communication partners. It is primarily used in setting up and tearing down voice or video calls. SIP uses TCP on port 5060 to negotiate which dynamic port range is to be used between the endpoints when setting up a call. Since opening all ports within the dynamic range would cause a severe security issue, the firewall is able to handle SIP traffic on an intelligent basis. This is achieved by means of a special connection tracking helper monitoring the control channel to determine which dynamic ports are being used and then only allowing these ports to pass traffic when the control channel is busy. For that purpose you must specify both a SIP server and a client network definition in order to create appropriate packet filter rules enabling the communication via the SIP protocol."

What I find is that it is successfully completing the following: "the firewall is able to handle SIP traffic on an intelligent basis. This is achieved by means of a special connection tracking helper monitoring the control channel to determine which dynamic ports are being used and then only allowing these ports to pass traffic when the control channel is busy." As of now, I can get my external SIP device to call into my Astersik server, and and the internal SIP device rings, you pick up.... but no voice/audio. This says to me that the signaling from the external device to the asterisk server is fine but when the Asterisk server hands over the phone call to connect it between the two phones this is failing. Which is what I understand the Astaro features are meant to do.... have I got this right?

your help is appreciated.

Last edited by warchild; 02-26-2009 at 04:52 AM.
Reply With Quote
  #3 (permalink)  
Old 02-28-2009, 11:50 AM
RFCat_vk's Avatar
Wizard
 
Join Date: Aug 2005
Location: Victoria, Australia
Posts: 2,554
Default

Hi,
you need to add some packet filter rules to allow the various port ranges your VoIP system uses out. You can exclude SIP of course.

Ian M
__________________
Home Power User unlimited licence - v7.50x - AMD X2 5050e with 2gb,1 intel NIC, the onboard NIC and netgear gs108t with vlans.
Reply With Quote
  #4 (permalink)  
Old 03-02-2009, 12:58 AM
warchild's Avatar
Junior Member
 
Join Date: Aug 2008
Posts: 5
Default

that machine has full access outbound......
Reply With Quote
  #5 (permalink)  
Old 04-06-2009, 05:16 AM
Member
 
Join Date: Jan 2004
Posts: 41
Default

I have been playing around with Trixbox and Astaro this weekend. I initially setup VOIP security on the firewall. I was able to make calls, but they would drop after a short period of time. Always within 1 minute. After checking the Trixbox config I finally turned off VOIP security and just left my packet filter and NAT rules enabled and everything started working just fine...

Not exactly sure what VOIP security does, but in my case it was causing issues.

David
Reply With Quote
  #6 (permalink)  
Old 04-07-2009, 12:39 PM
Senior Schall und Rauch Member
 
Join Date: Nov 2008
Posts: 260
Default

SIP support is going to be fixed in 7.402 which will be released very soon.
__________________
"Datenautobahn: Einrichtung zur schnellen Übertragung großer Datenmengen (z.B. über das Telefonnetz)" (DUDEN, 21. Auflage)

Mario Schmidt
QA Engineer
Astaro AG
Reply With Quote
  #7 (permalink)  
Old 05-26-2009, 08:10 PM
Member
 
Join Date: Jun 2005
Posts: 72
Default

Does someone have a list of trixbox rules that need to be added since the sip proxy doesn't appear to work?
Reply With Quote
  #8 (permalink)  
Old 05-26-2009, 09:21 PM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,156
Default

You can create packetfilter rules for whatever ports are needed, and DNAT also, if needed.

Look at your packetfilter logs for clues as to what ports the Trixbox is trying to use, or look at the docs for Trixbox.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #9 (permalink)  
Old 06-11-2009, 03:04 PM
Junior Member
 
Join Date: Jun 2009
Posts: 1
Default

Quote:
Originally Posted by trollvottel View Post
SIP support is going to be fixed in 7.402 which will be released very soon.
I am having a similar issue w/ SIP not working and have tried version 7.402 and now 7.403 without success. Can anyone verify a working install with the IP PBX being internal and external users accessing it via SIP?

Thank you,
Dave
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:03 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.