Implications of using -nonat
Hi What are the implications of using the -nonat flag when starting FreeSWITCH? When should it be used? I have started FreeSWITCH with -nonat and it registers with my external VOIP gateway (Pennytel) and users can make calls using the external sip profile. Clients outside of my network are not able to see or register with FreeSWITCH which is expected behaviour. What am I missing in terms of functionality because of disabling NAT? Thanks in advance O.
On Sun, 05 Aug 2012 23:10:06 +0800 ocset <ocset@the800group.com> wrote:
What are the implications of using the -nonat flag when starting FreeSWITCH? When should it be used?
I have started FreeSWITCH with -nonat and it registers with my external VOIP gateway (Pennytel) and users can make calls using the external sip profile. Clients outside of my network are not able to see or register with FreeSWITCH which is expected behaviour.
What am I missing in terms of functionality because of disabling NAT?
I think you have the answer in the question; if your server is directly connected to the Internet AND it is also known as your Internet address, then 'nonat' is logic, but if it is not the case (behind a FW&|router for example) it must know its external address as well (so no 'nonat':) JY -- Tommy dit : are you clear for tomorrow Aristote homework? Manus dit : Yap, just dicovrd he's dead Tommy dit : ...
There aren't any implications. The -nonat switch just simply tells FreeSWITCH to discover for an UPnP enabled NAT gateway so it can forward ports dynamically via that API. If you choose to open up ports the manual way then having that -nonat switch enabled doesn't make much of a difference. What is important however is that you set up your ext_rtp_ip and ext_sip_ip's correctly in your Sofia SIP profile. Examples of a very good value in ext_rtp_ip and ext_sip_ip is stun:stun.freeswitch.org On Sun, Aug 5, 2012 at 8:53 AM, Bzzz <lazyvirus@gmx.com> wrote:
On Sun, 05 Aug 2012 23:10:06 +0800 ocset <ocset@the800group.com> wrote:
What are the implications of using the -nonat flag when starting FreeSWITCH? When should it be used?
I have started FreeSWITCH with -nonat and it registers with my external VOIP gateway (Pennytel) and users can make calls using the external sip profile. Clients outside of my network are not able to see or register with FreeSWITCH which is expected behaviour.
What am I missing in terms of functionality because of disabling NAT?
I think you have the answer in the question; if your server is directly connected to the Internet AND it is also known as your Internet address, then 'nonat' is logic, but if it is not the case (behind a FW&|router for example) it must know its external address as well (so no 'nonat':)
JY -- Tommy dit : are you clear for tomorrow Aristote homework? Manus dit : Yap, just dicovrd he's dead Tommy dit : ...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Sun, 5 Aug 2012 09:41:32 -0700 curriegrad2004 <curriegrad2004@gmail.com> wrote:
There aren't any implications. The -nonat switch just simply tells FreeSWITCH to discover for an UPnP enabled NAT gateway so it can forward ports dynamically via that API. If you choose to open up ports the manual way then having that -nonat switch enabled doesn't make much of a difference.
My bad: too much time w/o touching FS (but very bad name too, noupnpnat would have been a lot more logical:( JY -- <Strasph> If I die in 5 minutes, what do you wanna tell me ? <Decibel> "What's your root password?"
I've submitted a patch for that :P On Sun, Aug 5, 2012 at 9:56 AM, Bzzz <lazyvirus@gmx.com> wrote:
On Sun, 5 Aug 2012 09:41:32 -0700 curriegrad2004 <curriegrad2004@gmail.com> wrote:
There aren't any implications. The -nonat switch just simply tells FreeSWITCH to discover for an UPnP enabled NAT gateway so it can forward ports dynamically via that API. If you choose to open up ports the manual way then having that -nonat switch enabled doesn't make much of a difference.
My bad: too much time w/o touching FS (but very bad name too, noupnpnat would have been a lot more logical:(
JY -- <Strasph> If I die in 5 minutes, what do you wanna tell me ? <Decibel> "What's your root password?"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Bzzz
-
curriegrad2004
-
ocset