[SR-Users] Kamailio as loadbalancer + NAT pinning

Daniel Tryba d.tryba at pocos.nl
Tue Jan 3 13:33:13 CET 2017


On Tue, Jan 03, 2017 at 12:58:20PM +0200, Vladyslav Zakhozhai wrote:
> The main question here is about nat pinning. Acctording to module doc (
> http://kamailio.org/docs/modules/4.4.x/modules/nathelper.html) I need
> nathelper module and usrloc module.
> 
> So I can proxy REGISTER requests to freeswitch boxes and in onreply_route
> check for REGISTER statuses:
> 1. if no success we use pike to limit bruteforce attacks
> 2. if success I need to save contact to usrloc db table

I don't know the answer to your question, but why do you need to save
the contact in usrloc?  If it is not to store a fixed freeswitch backend
for a client (for INVITEs to that client), don't do it.

Just block (successive) failures to authenticate.




More information about the sr-users mailing list