<p dir="ltr">Hi, yes Kamailio is listening to all addresses, even the destination address and still no response. It is weird because it only happens with 172.. addresses. What I did for now is I put a MikroTik router between the Kamailio server and the switch, and I configured it to do src-nat and change the source address from 172.. address to 192.. address and now the Kamailio respond!<br>
So I fixed it but I don't like this solution. <br>
I would like to find out what causes the problem so I can really fix it.</p>
<br><div class="gmail_quote"><div dir="ltr">בתאריך יום ג׳, 14 במרץ 2017, 18:25, מאת Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<p class="gmail_msg">Hello,</p>
<p class="gmail_msg">is Kamailio listening on all the IP addresses you need to
received the traffic? You can do:</p>
<p class="gmail_msg">kamctl ps</p>
<p class="gmail_msg">Also, check if you have any firewall rules blocking traffic from
those IP addresses.</p>
<p class="gmail_msg">Cheers,<br class="gmail_msg">
Daniel<br class="gmail_msg">
</p></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<br class="gmail_msg">
<div class="m_-903908192498021744moz-cite-prefix gmail_msg">On 14/03/2017 11:34, עדי ויזגן wrote:<br class="gmail_msg">
</div>
</div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><blockquote type="cite" class="gmail_msg">
<div dir="rtl" class="gmail_msg">
<div dir="ltr" class="gmail_msg">Hi everyone,</div>
<div dir="ltr" class="gmail_msg">I have the following problem:</div>
<div dir="ltr" class="gmail_msg">I have a Kamailio server that is connected to
several Asterisk servers for load balacing in a LAN network
with the IP's of 192.168.16.X.</div>
<div dir="ltr" class="gmail_msg">I recently connected with another company that is
supposed to send me calls through the Kamailio server.</div>
<div dir="ltr" class="gmail_msg">The problem is this:</div>
<div dir="ltr" class="gmail_msg">I am connected to then with a cable from their
network to mine. My port has the address 10.9.18.198 and they
come from the address 172.18.177.18.</div>
<div dir="ltr" class="gmail_msg">When I get packets from their address (172...) I
can see them getting to my Kamailio server, but the Kamailio
does not respond.</div>
<div dir="ltr" class="gmail_msg">It only happens when I get packets from 172
source address.</div>
<div dir="ltr" class="gmail_msg">If I get from 192 or 10 adresses from my LAN
network it works, and if I get packets from real world IP's
through my WAN it works.</div>
<div dir="ltr" class="gmail_msg">Does anyone have any idea why the Kamailio
does'nt respond to packets from 172 adresses?</div>
<div dir="ltr" class="gmail_msg">And how to fix this?</div>
<div dir="ltr" class="gmail_msg">Thanks in advance!</div>
</div>
<br class="gmail_msg">
<fieldset class="m_-903908192498021744mimeAttachmentHeader gmail_msg"></fieldset>
<br class="gmail_msg">
</blockquote></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><blockquote type="cite" class="gmail_msg"><pre class="gmail_msg">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a class="m_-903908192498021744moz-txt-link-freetext gmail_msg" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br class="gmail_msg">
<pre class="m_-903908192498021744moz-signature gmail_msg" cols="72">--
Daniel-Constantin Mierla
<a class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</div>
_______________________________________________<br class="gmail_msg">
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br class="gmail_msg">
<a href="mailto:sr-users@lists.sip-router.org" class="gmail_msg" target="_blank">sr-users@lists.sip-router.org</a><br class="gmail_msg">
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br class="gmail_msg">
</blockquote></div>