Steve Sobol
2006-Nov-13 16:51 UTC
[asterisk-users] STUN with one public and one private IP?
I'm finishing up deploying an Asterisk (Trixbox) box at work. Wow, I thought Asterisk was cool by itself, but Trixbox has made just about everything turnkey. Great stuff! So... we're using Grandstream GXP-2000 handsets to connect to the Trixbox, which sits on our DMZ with a single public IP. I need the phones to work from random places behind NAT, as well as in the office. I'm using STUN, and I understand I need a primary IP and an alternate IP to make STUN work. Well, I got STUN working here on amethyst.justthe.net, which has a bunch of available public IPs, but the Trixbox only has one public IP, and I have to request (and pay for) more IPs from the phone company if I need any more. And I'd really prefer that STUN be running in the office, and not on my personal server. So I'm wondering... I'm using stund from SourceForge. Is there any reason I couldn't give the Trixbox's public IP address as the primary and 127.0.0.1 as the secondary? I believe Asterisk is listening on the loopback interface... Thanks in advance, Steve -- Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED It's all fun and games until someone starts a bonfire in the living room.
Al Bochter
2006-Nov-13 18:14 UTC
[asterisk-users] STUN with one public and one private IP?
You like trixbox........ Should try voxbox..... Best regards, Al Bochter Bochter Services BochterServices.com/?t=Email Are you outside of the US? Do you need to call US Toll Free Numbers? We can help you save money on calling US toll free numbers. Email for information: usTollFree@bochterservices.com (Cellular) 1-712-432-5401 (Voip PBX) Free World DialUp: 780-217 EXT: 250 WebSite: freeworlddialup.com BUY and sell Coins, Silver and Gold bochterservices.com/?j=gold&t=email For new and used security items bochterservices.com/?j=store&t=email_security GOLD PLATING SERVICES bochterservices.com/?j=plating&t=email Steve Sobol wrote:>I'm finishing up deploying an Asterisk (Trixbox) box at work. Wow, I >thought Asterisk was cool by itself, but Trixbox has made just about >everything turnkey. Great stuff! > >So... we're using Grandstream GXP-2000 handsets to connect to the Trixbox, >which sits on our DMZ with a single public IP. I need the phones to work >from random places behind NAT, as well as in the office. I'm using STUN, >and I understand I need a primary IP and an alternate IP to make STUN >work. > >Well, I got STUN working here on amethyst.justthe.net, which has a bunch >of available public IPs, but the Trixbox only has one public IP, and I >have to request (and pay for) more IPs from the phone company if I need >any more. And I'd really prefer that STUN be running in the office, and >not on my personal server. > >So I'm wondering... I'm using stund from SourceForge. Is there any reason >I couldn't give the Trixbox's public IP address as the primary and >127.0.0.1 as the secondary? I believe Asterisk is listening on the >loopback interface... > >Thanks in advance, > Steve > > >
Steve Sobol
2006-Nov-15 17:26 UTC
[asterisk-users] STUN with one public and one private IP?
On Mon, 13 Nov 2006, Steve Sobol wrote:> So I'm wondering... I'm using stund from SourceForge. Is there any reason > I couldn't give the Trixbox's public IP address as the primary and > 127.0.0.1 as the secondary? I believe Asterisk is listening on the > loopback interface...Following up to myself. 127.0.0.1 didn't work, but setting up an alias on my eth0 interface and configuring it as 192.168.1.1 did. -- Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED It's all fun and games until someone starts a bonfire in the living room.