[SR-Users] Disable NAT for given IP range

John Murray john.murray at skyracktelecom.com
Wed Nov 13 23:42:15 CET 2013


John,

You can switch rfc1918 checking by changing the nat_uac_test flags. See:

http://www.kamailio.org/docs/modules/4.0.x/modules/nathelper.html#idp1537653
6

Looks like 18 might fit for you.

Regards

John

-----Original Message-----
From: sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of David Dean
Sent: 13 November 2013 22:29
To: sr-users at lists.sip-router.org
Subject: [SR-Users] Disable NAT for given IP range

Hello all,

I have a kamailio server on a public IP address with a private interconnect
into my office network. The private interconnect allows the server to see
requests from individual 10.x.x.x IP addresses instead of everything coming
through the public NAT. This avoids timeout issues and reduces keepalive
traffic.

The problem is the SIP headers from clients on the 10.x.x.x IP range match
nat_uac_test because of the RFC1918 address in the via and contact headers
and so NAT support is enabled regardless of no NAT being present.

Is it possible to disable NAT support for a given IP range, in my case
10.x.x.x ?

Thanks,

John


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list