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

Jeff Leung jleung at v10networks.ca
Fri Aug 9 00:55:32 MSD 2013


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
M: 317-600-9753
E: bdfoster at davri.com
Indianapolis, Indiana

Sent from a mobile device.

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


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