[Spce-user] Multiple ports for peer

Dejan Kurel dkurel at cryptotel.com
Fri Apr 29 14:47:31 EDT 2011


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.

Dejan

On 04/29/2011 09:36 AM, VoiceTech | Oskar Krigh wrote:
> Hi
> 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?
>
>
> /Oskar
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user





More information about the Spce-user mailing list