<div dir="ltr">I agree with Bogdan here. This is not an OpenSIPs question. It's either your docker configuration is not correct or some other component in your networking stack (potentially/likely even off this server) is doing that. <div><br></div><div>I frequently use OpenSIPs, with docker, with host networking. There is no problem doing it. </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Mar 10, 2025 at 11:16 AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<font face="monospace">Hi Sasmita,<br>
<br>
Just as hint, to know where to dig further. 100% this has nothing
to do with OpenSIPS, but with the network setup in your cloud.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 10.03.2025 11:59, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi All , </div>
<div><br>
</div>
<div>I have opensips 3.2 deployed on a node in eks cluster .
Opensips is running in a docker container with HostNetwork=
True . I have configured the socket on the 5060/UDP port . As
for the expectation , the incoming and outgoing traffic must
be communicated with 5060 port.</div>
<div><br>
</div>
<div>I can see in outgoing requests , when the request reaches
the far end , the source port which get visible to them is a
random port not 5060 . What are the possible reasons for this
? </div>
<div><br>
</div>
<div>Is the deployment with HostNetwor : True wont work with
Opensips ? Will I need to try some other way around ? Please
do suggest . Thanks in advance . </div>
<div><br>
</div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>