<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>maybe there is some IP routing mis-configuration in the server.
      What did you use to see that the packets arrive on the sip server
      system? ngrep or something similar?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14/03/2017 22:06, עדי ויזגן wrote:<br>
    </div>
    <blockquote
cite="mid:CAJDbpj9kGW2aDkw-3xsMFYLmdEs4rd65SdXMGygF_06=d261kg@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
            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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" class="m_-903908192498021744moz-txt-link-abbreviated gmail_msg" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
            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 moz-do-not-send="true"
            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>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>