[Freeswitch-users] Nat Setup Help

Ryan How rhow at exemail.com.au
Wed Dec 28 18:58:25 MSK 2011


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







Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list