[SR-Users] Kamailio does'nt respond to packets from specific addresses

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 15 14:19:23 CET 2017


Hello,

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?

Cheers,
Daniel


On 14/03/2017 22:06, עדי ויזגן wrote:
>
> 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!
> So I fixed it but I don't like this solution.
> I would like to find out what causes the problem so I can really fix it.
>
>
> בתאריך יום ג׳, 14 במרץ 2017, 18:25, מאת Daniel-Constantin Mierla
> ‏<miconda at gmail.com <mailto:miconda at gmail.com>>:
>
>     Hello,
>
>     is Kamailio listening on all the IP addresses you need to received
>     the traffic? You can do:
>
>     kamctl ps
>
>     Also, check if you have any firewall rules blocking traffic from
>     those IP addresses.
>
>     Cheers,
>     Daniel
>
>
>     On 14/03/2017 11:34, עדי ויזגן wrote:
>>     Hi everyone,
>>     I have the following problem:
>>     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.
>>     I recently connected with another company that is supposed to
>>     send me calls through the Kamailio server.
>>     The problem is this:
>>     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.
>>     When I get packets from their address (172...) I can see them
>>     getting to my Kamailio server, but the Kamailio does not respond.
>>     It only happens when I get packets from 172 source address.
>>     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.
>>     Does anyone have any idea why the Kamailio does'nt respond to
>>     packets from 172 adresses?
>>     And how to fix this?
>>     Thanks in advance!
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com <http://www.asipto.com>
>     Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com <http://www.kamailioworld.com>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170315/6bdc5802/attachment.html>


More information about the sr-users mailing list