LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 02-17-2014, 07:36 AM   #1
PelliX
Member
 
Registered: Apr 2006
Location: Enschede
Distribution: Debian, Red Hat/Fedora, Solaris, DD-WRT, NetBSD, Mac OS8/9, Mac OSX, UMP/OS, ESX
Posts: 42

Rep: Reputation: 15
Solaris 10 / listen on multiple ports


Hello,

I have a Solaris 10 SPARC box running Asterisk 1.6 (I wrote a thread about that, too). The SIP service is using the default (UDP 5060) port and works fine. I also have an IP base station that supports multiple handsets, each with their own SIP account. Currently, I have 4 of a maximum of 6 handsets connected to it, and they all work fine individually. Every extension/handset is a member of a queue. Unfortunately, the base station has some 'issues' when all 4 extensions are rung from the queue simultaneously, and Asterisk gets the odd "Busy Here" back from it. My guess (based on some experience with Linksys PAP2T's) is that it would work fine if I configured each SIP account to use a seperate port (5060, 5061, 5062, etc). I can do this easily on a Linux box using iptables and redirecting 5061-5063 to 5060 inbound. Asterisk appears to be unable to listen on multiple ports. I would like to set up a similar rule using the Solaris ipf facility, but I can't seem to get it to work without setting up NAT (ipnat.conf).
To make a long story short; am I missing something here, or doesn't Solaris (10) support a 'simple port redirect' without setting up NAT?

Many thanks in advance,

PelliX
 
Old 02-17-2014, 08:40 PM   #2
PelliX
Member
 
Registered: Apr 2006
Location: Enschede
Distribution: Debian, Red Hat/Fedora, Solaris, DD-WRT, NetBSD, Mac OS8/9, Mac OSX, UMP/OS, ESX
Posts: 42

Original Poster
Rep: Reputation: 15
Well, the 'port seperation' seems to have fixed the issue. I have NAT in use, using three simple rules to redirect incoming traffic (ports 5061-5063) to the box's own IP on port 5060. It would have been possible to achieve the same by using the existing NAT to another subnet or the Internet, but that would be messy and might increase latency. I don't really see a problem with this current configuration, so I'm fine with it.

Thanks,

PelliX
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can only root listen to ports below 1024? mikaelstaldal LQ Articles Discussion 4 08-21-2022 04:03 AM
Application to listen at multiple ports taabish Programming 7 12-24-2010 11:37 AM
Is it possible for SIP and IAX to listen on two ports? depam Linux - Software 1 06-01-2010 03:41 AM
Can't find where to set certain ports to listen garf Linux - Networking 1 07-01-2006 12:06 AM
SSH listen on two ports Buto Slackware 1 10-02-2004 01:15 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration