You could quite easily just do this with iptables. See http://askubuntu.com/questions/320121/simple-port-forwarding for ideas.

On 27 November 2014 at 05:29, Rizwan Khan <rizkhan@gmail.com> wrote:
Hi All,

What we want to do is to by-pass the restrictions imposed by different ISPs etc. which normally block based on the port 5060

The SIP server(including SBC) is a commercial one running on port 5060, that we cannot change. It is already taking care of the NAT issues. 

We want to use Kamailio as the pass-thru proxy in front of the SBC just to receive the request on a random port, and then forward the request to the SBC internally being on the same private network.

What would be the best way to do it?

Any help will be highly appreciated.


Rizwan Khan



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users