[Freeswitch-users] OpenWRT Router changes public IP to it's private IP

Jeff Leung jleung at v10networks.ca
Fri Aug 9 01:55:54 MSD 2013


You also may want to see if OpenWRT is doing something called symmetric NAT
too. That can cause STUN's port detection technique to fail completely.

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian
Foster
Sent: Thursday, August 8, 2013 2:49 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] OpenWRT Router changes public IP to it's
private IP

 

Stun is used on external profile, but I'll double check to see if they are
correct.

Thank you,

Brian Foster
Project Manager/Owner's Rep.
Davri Investments, Inc.
O: 317-787-2686 x2102
M: 317-600-9753
E: bdfoster at davri.com
Indianapolis, Indiana

Sent from a mobile device.

On Aug 8, 2013 5:08 PM, "Jeff Leung" <jleung at v10networks.ca> wrote:

Use STUN. Ext-rtp-ip and ext-sip-ip addresses are a great way to start
looking into this.

 

You can define stun servers as stun:stunserver.here.tld

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian
Foster
Sent: Thursday, August 8, 2013 1:38 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] OpenWRT Router changes public IP to it's private
IP

 

We've got an openwrt router at a site, it's private IP is 10.0.0.1. Whenever
we get an inbound call on the external profile (and probably outbound calls
to, haven't checked yet), it changes the contact IP to the router's private
IP, so that every call we get looks like it's coming from thr router. We've
had some intermittent audio problems recently and we're trying to narrow
things down a bit. Is this the expected behavior for NAT? 

Sorry might seem like a dumb question, but my job entails much more than
keeping the company's server's happy and I'm starting to lose my grip and
I'm definitely not experienced with NAT.

All of my routers in the past have given FS the public IP of the contacting
server. I have web servers behind the same NAT and doing the same thing,
showing the private IP of the router instead of showing the public IP of the
client. So I know it's not an issue with FS. Just wanted to see if anyone
has exoerienced this before. Makes it difficult to use fail2ban on my
servers, as it continually jails my router.

Thank you,

Brian Foster
Project Manager/Owner's Rep.
Davri Investments, Inc.
O: 317-787-2686 x2102 <tel:317-787-2686%20x2102> 
M: 317-600-9753
E: bdfoster at davri.com
Indianapolis, Indiana

Sent from a mobile device.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130808/8b76fce5/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list