I’m working on something similar, what cloud are you using?
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.
I’m curious as to how you plan to get it to work, why would you need the public IP of the VM?
Also, I’m having trouble getting Kamailio to use existing (established) TCP connections when it’s not the initial request...
I’d love to hear if you get it working!
Cheers,
Joel.