|
|
#1 (permalink) |
|
Untanglit
Join Date: Apr 2009
Posts: 10
![]() |
Ok here is my setup.
Running untangle 6.1 and my modem from ISP is set to bridge mode. My ISP is using PPPOE. Untangle is the gateway and firewall at 192.168.3.1. My Asterisk box is behind untangle's lan at 192.168.3.20. I have tried different firewall port forward rules but nothing works. My asterisk box cannot register to my Voip provider. I did some tests with my Voip provider and removed Asterisk from untangles lan and put it directly at the modem. I had to remove the bridge mode for this test and enabled the DHCP server in my modem. The Asterisk box registered right away also did the X-Light software from my laptop the was also connected to the modem for this test. So I know 100% it's not an issue with my Voip provider and is with untangle's firewall settings. I have searched these forums but could not find my solution. The Bypass rules are set at default. So I believe my port forward is not working correctly. If anybody has Asterisk working behind untangle please explain how you did this. I have been hours searching and pulling my hair at this point I don't have much hair too pull. ![]() Please help.. ![]() |
|
|
|
|
#2 (permalink) | |
![]() ![]() Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 7
Posts: 9,951
![]() |
Quote:
What you are dealing with is NAT, SIP + NAT = Large Pain. Config -> Networking -> Advanced -> Bypass Untick the box that says "enable SIP Nat Helper" and then you can configure your Asterisk Box to do the NAT juggling for you. If you currently have your asterisk box doing nat adjustments, you can also try try turning the features off and see if the UT juggles it for you. Beyond that, it's a bit beyond the scope of the untangle forums to go over the insanity that is the sip protocol with NAT in the way.
__________________
Intouch Technology Rob Sandling, BS:SWE, MCP Office: 480-272-9889 rob@intouchtechllc.com |
|
|
|
|
|
#4 (permalink) |
![]() ![]() Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 7
Posts: 9,951
![]() |
Well you need to check the documentation on your phone switch.
SIP runs on UDP 5060 by default, but then the audio goes over RTP which is some kind of port range. 10000-20000 is the default, and the normal for SwitchVOX but Asterisk in general is a very wide beast. So once you get into that world... you're just going to have to attack the manual regarding NAT on the PBX and see what you turn up. Incidentally there is a bypass rule for SIP by default, but this doesn't cover RTP, so you need to create a bypass rule to match the port forward for RTP so the UVM doesn't make your sound skip.
__________________
Intouch Technology Rob Sandling, BS:SWE, MCP Office: 480-272-9889 rob@intouchtechllc.com |
|
|
|
|
#7 (permalink) | |
![]() ![]() Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 7
Posts: 9,951
![]() |
Quote:
Try this Destination Port 5060 Source Interface External Protocol UDP Destined Local New Destination *blah*
__________________
Intouch Technology Rob Sandling, BS:SWE, MCP Office: 480-272-9889 rob@intouchtechllc.com |
|
|
|
|
|
#8 (permalink) |
|
Untanglit
Join Date: Apr 2009
Posts: 10
![]() |
It sill won't register. I have tried with the Sip Nat Helpers enabled and disabled.
I even commented out my sip_nat.conf settings. externhost=xxxxx.dyndns.org localnet=192.168.3.0/255.255.255.0 nat=yes externrefresh=120 It just won't connect at all. If I remove Asterisk from untangle and put it directly with unbridged modem it works perfectly. I also have iptables and firewall disabled in my Asterisk. I don't know what else to try. If there is anybody out there that got Asterisk to work with Untangle please share as I don't have much hair left to pull. Ah well it least it's summer time and I can go with the bald look again... Just frustrated.... I'll try the pbxinaflash forums.... Thanks again sky-knight for the suggestions and proper port forward config. |
|
|
|
|
#9 (permalink) |
|
Untanglit
Join Date: Apr 2009
Posts: 10
![]() |
I solved it..
Sky-knight you were right with the "Sip Nat Helpers" solution. The problem was when you untick "Sip Nat helpers" untangle requires a reboot. I had rebooted the Asterisk server several times and it never worked. Then I decided to reboot the untangle server and Bingo....problem solved. I left the sip_nat.conf the same. I don't believe it, I wasted a good part of a day trying to solve this issue reading for hours with no solutions. Now becuase of a stupid tick box I don't have much hair....at least the weather is hot now so hair not needed.. lol Thanks again sky-knight... I'm happy now....going to out now.....and my Voip is working behind untangle... |
|
|
![]() |
| Thread Tools | |
|
|