If you want a different ip address in VIA than the local socket of kamailio, then look at set_advertise_address() from core cookbook.
No, it is more important to rewrite To and From headers to source interface ip address for proxied requests and responses. What is the right way to do it? Where can I find simple example to proxy requests from public network to private one?