<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I see, since all the connections are TCP, there is no issue with kamailio knowing its public IP? Normally that IP is embedded in VIA headers etc.<div class=""><br class=""></div><div class="">I’ve been reading your thread about TCP connection reuse with interest ;)  Will let you know if I find some way around it.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 10 Nov 2019, at 18:37, Joel Serrano <<a href="mailto:joel@textplus.com" class="">joel@textplus.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">I’m working on something similar, what cloud are you using?</div></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">In my case, using GCP, I have a script that queries the metadata API and uses information from there, but for the setup I’m trying out, I use the LB public IP not the VM one. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I’m curious as to how you plan to get it to work, why would you need the public IP of the VM?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Also, I’m having trouble getting Kamailio to use existing (established) TCP connections when it’s not the initial request... </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I’d love to hear if you get it working!</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Cheers,</div><div dir="auto" class="">Joel. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><br class=""></div><div class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 10, 2019 at 09:23 Mack Hendricks <<a href="mailto:mack@dopensource.com" class="">mack@dopensource.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Each cloud provider acts a little different when it comes to Nat’ing <br class="">
<br class="">
Sent from my iPhone<br class="">
<br class="">
> On Nov 10, 2019, at 9:16 AM, Alejandro Recarey <<a href="mailto:alex@recarey.org" target="_blank" class="">alex@recarey.org</a>> wrote:<br class="">
> <br class="">
> Hi, I am trying to get kamailio working cloud provider, autoscaling<br class="">
> them behind a TCP load balancer.<br class="">
> <br class="">
> Is there a way for kamailio to discover its Public IP at startup? Or<br class="">
> do people generally program their own startup scripts that modify the<br class="">
> kamailio config file before starting it?<br class="">
> <br class="">
> Is there any gotchas you have hit while configuring this setup?<br class="">
> <br class="">
> Thank you!<br class="">
> <br class="">
> Alex<br class="">
> <br class="">
> _______________________________________________<br class="">
> Kamailio (SER) - Users Mailing List<br class="">
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class="">
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
<br class="">
_______________________________________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
</blockquote></div></div>
_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""></div></body></html>