I have made some additional research, and not found any suitable
solution for LB + PROXIES and NAT handling...
Could be somebody so kind and share simple (as simple as could be)
configs of LB and PROXY, where NAT handlind (contact header, SDP IP,
rtpproxy) is made by PROXY and all messages to users in both directions
go throught LB, and PROXIES to GWs communicate directly? Or point me to
some documentation describing it.
My old freind Google (and SER + OpenSER mailng lists, forums etc.) give
no advice or I cant compound good enough query :-)
Thank you mery much!
kokoska.rokoska
kokoska rokoska napsal(a):
Hi Andreas,
thank you very much for you answer! I thought the same way, but not sure
if it is the best way how to do it :-)
So, you mean, I have to detect NAT for all messages/replays going
throught LB, insert some proprietary headers (P-NAT:
received=1.2.3.4:5060) and fix contact header and force/unforce rtpproxy
on proxy servers? It is a lot of processing :-)
Isn't be better to mangle conatct and manage rtpproxy directly from LB?
I really don't have any experiences in loadbalancing, so I will be happy
to gather up all possible informations and experiences from the others.
Tanks!
kokoska.rokoska
Andreas Granig napsal(a):
Hi,
You can detect NAT at the LB and set a proprietary header, like "P-Nat:
1", which can be processed at the proxy.
Cheers,
Andreas
kokoska rokoska wrote:
> Hi all,
>
> I'm currently succesfully running OpenSER, but user population grow up
> and I'm affraid I need laod balancing :-)
>
> The projected scenario is:
>
> USERS <-> (NAT) <-> LB <-> P1 <-> GWs
> <-> P2
> <-> R1
> <-> R2
>
>
> Where LB is Load Balancer (OpenSER with Dispatcher & Path module), and
> P1-P2 is proxies (OpenSER) and R1-R2 registrars (OpenSER)
>
> And the problem I need to solve is NAT handling.
> I can correctly process registrations with help of Path module on LB and
> enabling of using it on R1,R2.
> But, what should I do with calls? My idea is to process NAT handling on
> P1-P2, but I don't know how. Both proxies are unable (I mean) detect
> correct user IP address.
>
> Could you tell me, please, what to do? Do NAT handling on LB? It is
> unnecessary added load to LB...
>
> Thanx in advance!
>
> kokoska.rokoska
>
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users