[Spce-user] Multiple ports for peer
dkurel at cryptotel.com
Fri Apr 29 15:40:49 EDT 2011
I believe you would just add one more listen directive as you previously
Although I'm not quite sure if you would have to write additional
routing logic for that or not. Hopefully someone will clarify, and my
thanks go to this person in advance.
On 04/29/2011 09:10 PM, Oskar Krigh wrote:
> Well, i will try this, and i guess it works. I just hoped for a more "real" solution.
> When you can have kamilio listening on multiple ports I just hoped that it would exist
> a more world known solution to it.
> If the iptables solution is the only one right now I guess I have to go for it, but it is
> Many companies out there that want to go for a more "secure" solution, and communicate on
> different ports.
> -----Original Message-----
> From: Dejan Kurel [mailto:dkurel at cryptotel.com]
> Sent: den 29 april 2011 20:48
> To: VoiceTech | Oskar Krigh; spce-user at lists.sipwise.com
> Subject: Re: [Spce-user] Multiple ports for peer
> This should be easily accomplished with iptables:
> iptables -A PREROUTING -p udp --dport 55060 -j REDIRECT --to-port 5060
> With this - everything that comes to port UDP 55060 will be redirected
> to UDP 5060.
> Hope this helps. Of course, you can change ports per your specific needs.
> On 04/29/2011 09:36 AM, VoiceTech | Oskar Krigh wrote:
>> Is it possible to have a peer to be able to communicate on multiple ports?
>> So in my case i have a peer that i communicate with on port 5060, and when my peer is going to communicate with me
>> i recieve all packets on another port.
>> So i guess i first have to get kamailio to listen on multiple ports, but that is the easy part.
>> So how do i set the peer to accept incoming pacets on more than one port?
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
More information about the Spce-user