[Freeswitch-users] Nat Setup Help
Ryan How
rhow at exemail.com.au
Thu Dec 29 04:08:14 MSK 2011
So if I use the default config and just set ext-rtp-ip and ext-sip-ip in
the internal profile to the static IP it might work? I've messed up
something in the config now and it tells me invalid profile, I guess I
shoulda taken a copy before messing too much so I can reset it :).
On 29/12/2011 6:47 AM, curriegrad2004 wrote:
> That's why there's ext-rtp-ip and ext-sip-ip varibles in the sofia conf file!
>
> You're getting close, however :P
>
> On Wed, Dec 28, 2011 at 7:58 AM, Ryan How<rhow at exemail.com.au> wrote:
>> Hi,
>>
>> I've been playing with freeswitch and having a bit of trouble getting
>> devices to register from outside my network. I want devices to be able
>> to use a single IP and connect whether they are inside or outside of the
>> network. Network setup is a NAT router / gateway with a static IP. I've
>> tried a few different setups as follows:
>>
>> Server inside the NAT. Works well, but external devices can't register.
>> Tried port forwarding 5060-5091& 16384-32768 but can't get devices to
>> authenticate properly, I'm thinking maybe the ACL or the "domain" is
>> causing issues but I don't know how to debug this). Also I want devices
>> to be able to roam from internal to external, so it needs to use the
>> external IP address all the time, but NAT reflection and VOIP just don't
>> seem to work at all (It works for mail server and web server, so I don't
>> know why not for VOIP).
>>
>> Server on gateway and multihomed. Again the internal / external IP
>> issue... but it seems to work better than behind the NAT. Have a big of
>> trouble with "domains", clients cannot authenticate because they don't
>> exist on a different domain or something, I don't really understand it
>> or know how to debug other than trial error, usually fixing 1 thing
>> breaks another thing.
>>
>> Server on gateway and bound just to the external IP (I think!).
>> Everything works as I want, except internal clients hear no sound, I
>> don't know why, they can register and call fine. I think it must be a
>> NAT issue? I Wouldn't think NAT would be involved here...
>>
>> Has anyone got a good way or pointers to how I should be trying to set
>> this up?, The only way I've got it working so far is to VPN in and use
>> it over that, but that adds a lot of overhead and makes it less reliable...
>>
>> This stuff does my head in :).
>>
>> Thanks! Ryan
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> 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
> _________________________________________________________________________
> 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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list