htcom Posted August 2, 2012 Report Share Posted August 2, 2012 I've got a snomONE behind a NAT router with port forwarding set for the relevant ports. I have also set the IP Routing list on the snomone such that it contains my public ip address. That all work fine without any nat issues until my public ip address gets updated by the isp. I am not asking for STUN, but is there a way in the snomone for it to recognise what the external ip address is whilst keeping NAT ? I suppose I'd like to input something like wxyz.dyndns.org and for the Snom to handle the rest. Thank you. Quote Link to comment Share on other sites More sharing options...
Top System Posted August 2, 2012 Report Share Posted August 2, 2012 IP routing list (numeric) is really doing a good job with NAT, But as it is a low level functionality, when you change the ip routing list, you have to restart the pbx to activate the changes. A few years ago, I wrote a script, mainly base on dyndsn.org script to track the ip change, automatically change the ip routing list and restart the pbx. It worked, but not the correct way to do it in production environment with lots of calls. It could certainly be possible to allow a text base input of the ip routing list, the problem is that every time, this ip routing list will be used, there will be a name resolution to check if last used route is still the same .... Fixed IP is not so expensive ! Regards, R. Quote Link to comment Share on other sites More sharing options...
htcom Posted August 2, 2012 Author Report Share Posted August 2, 2012 Thanks for the reply Top System, that's interesting. You are absolutely correct a fixed IP is not expensive and I'm pleased Snom have decided against stun. (We are only having this issue because our dedicated voip broadband has been accidentally cancelled and we are sharing the voip with the general data broadband while the circuit is set-up again.) When it was on the dedicated fixed ip broadband the Snom worked without any problem with the IP Routing List set and behind nat (Vigor 2820). Quote Link to comment Share on other sites More sharing options...
pbx support Posted August 2, 2012 Report Share Posted August 2, 2012 FYI.. from 4.5.0.1090 onwards, you do not have to restart the PBX to pickup the changes to "IP Routing List:" setting. PBX does an update internally to use the new settings. Quote Link to comment Share on other sites More sharing options...
htcom Posted August 3, 2012 Author Report Share Posted August 3, 2012 Interesting regarding 4.5.0.1090 onwards. I've been thinking some more about this and I am considering using the dual wan capability of the adsl router we use to automatically switch incase of a broadband outage. However the public ip issue is still going to be present. In our scenario it's probably not going to be an issue as we will hopefully move over to a super-fast broadband service when it becomes available. However I would have thought if the snomONE could be dynamic public ip aware behind nat (but not stun) then it might be a useful feature especially given that a restart is soon not to be required. But I'm probably the first and last person to think so . Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 4, 2012 Report Share Posted August 4, 2012 Services are massively moving to the cloud right now, where IP addresses are always routable. So IMHO time will heal the problem of SIP servers behind NAT anyway. Quote Link to comment Share on other sites More sharing options...
Nijin Narayanan Posted September 24, 2012 Report Share Posted September 24, 2012 Why snomONE support DNS name is IP Routing list ? We have a dual wan router and it set to auto-switch to a wan if another was goes down. SO every time i need to change the IP address in snomone. Is that possible to setup an Crontab in snomONE soho to update the IP routing list ? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 24, 2012 Report Share Posted September 24, 2012 Well there are two ways to let the PBX know that the routing has changed. First of all, tell the operating system! The PBX asks the operating system what IP address will be used when it sends a packet to some destination. For this, you don't have to configure anything on the PBX. So if your PBX should use a public IP address, configure it on the operating system level! Second, if the PBX should override the routing table on the operating system level (which is a remarkable step), you can update that settings through a SOAP RPC. Older versions did not update the internal override table, that has been fixed in recent versions. Based on that, you can write a script that does whatever you want to do and then update the routing table in the PBX. Please remember that the PBX is a server, not a client where you can fix NAT issues with a couple of STUN packets. Quote Link to comment Share on other sites More sharing options...
jim@itstod.se Posted September 24, 2012 Report Share Posted September 24, 2012 In cases with dynamic IP and NAT we use a good SIP-aware firewall from Intertex. No NAT configuration at all is needed in snom ONE, the router inspects the SIP messages and translates private IP addresses to the correct public IP. Works very well for smaller systems. Best regards, Jim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.