<div><div dir="auto">I’m working on something similar, what cloud are you using?</div></div><div dir="auto"><br></div><div dir="auto">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"><br></div><div dir="auto">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"><br></div><div dir="auto">Also, I’m having trouble getting Kamailio to use existing (established) TCP connections when it’s not the initial request... </div><div dir="auto"><br></div><div dir="auto">I’d love to hear if you get it working!</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Joel. </div><div dir="auto"><br></div><div dir="auto"><br></div><div><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">mack@dopensource.com</a>> wrote:<br></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>
<br>
Sent from my iPhone<br>
<br>
> On Nov 10, 2019, at 9:16 AM, Alejandro Recarey <<a href="mailto:alex@recarey.org" target="_blank">alex@recarey.org</a>> wrote:<br>
> <br>
> Hi, I am trying to get kamailio working cloud provider, autoscaling<br>
> them behind a TCP load balancer.<br>
> <br>
> Is there a way for kamailio to discover its Public IP at startup? Or<br>
> do people generally program their own startup scripts that modify the<br>
> kamailio config file before starting it?<br>
> <br>
> Is there any gotchas you have hit while configuring this setup?<br>
> <br>
> Thank you!<br>
> <br>
> Alex<br>
> <br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>