Connecting Via External IP Address to asterisk

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Connecting Via External IP Address to asterisk

Postby andyrav » Tue Apr 19, 2005 7:46 am

Can some one help. I am trying to connect to my asterisk@home box from home, system works fine in the office, What I want to do is connect to our asterisk server from home, is this possible? And the moment I think it is only listening on internal ip address i.e. 192.168.1.X On your SDSL rooter I have setup DMZ to point to the asterisk server.
andyrav
Newsterisk
 
Posts: 7
Joined: Thu Dec 21, 2006 10:56 pm

Postby recodo » Tue Apr 19, 2005 1:15 pm

You need to configure the port 4569 pointing to ip adress of the AHH

Regards
recodo
Newsterisk
 
Posts: 8
Joined: Thu Dec 21, 2006 10:56 pm

?

Postby andyrav » Tue Apr 19, 2005 3:19 pm

how do i configure the port 4569 pointing to ip adress of the AHH? What is AHH? Is it a config in asterisk or the rooter
andyrav
Newsterisk
 
Posts: 7
Joined: Thu Dec 21, 2006 10:56 pm

Postby poli » Tue Apr 19, 2005 5:02 pm

You need to setup a rule in your gateway or router to point connections to the 4569 UDP coming from the Internet to be forwarded to the 4569 port of your internal server, that is, to the internal IP of the box running asterisk.
poli
Newsterisk
 
Posts: 23
Joined: Thu Dec 21, 2006 10:56 pm

Postby zoa » Fri Apr 22, 2005 1:26 pm

Have a look at the draft of the SIP + NAT tutorial im currently writing.

http://www.asteriskguru.com/natut.php

Give more information on your setup if you want more help.

/Z
Asterisk tutorials, tools
www.asteriskguru.com

List of voip providers:
www.voipcharges.com
zoa
Oldsterisk
 
Posts: 141
Joined: Thu Dec 21, 2006 10:56 pm

Postby SDraconis » Mon May 23, 2005 2:13 am

Okay, I am still thoroughly confused with that tutorial. I have seen most of those options before, but I have no idea which ones I need to use for my setup. I have my Asterisk server and my client using X-Lite behind two different NAT routers. What incoming ports do I need to forward on each, and what do I need to set in my sip.conf and rtp.conf? (No outgoing ports are blocked).

Currently I have UDP ports 5060, 6922, and 6923 forwarded on the Asterisk's NAT. rtp.conf is set to start at 6922 and end at 6923. sip.conf has nat=yes for the user and
Code: Select all
port=5060
bindaddr=0.0.0.0
servlookup=yes
localnet=192.168.0.85/255.255.255.0
under general. X-Lite registers properly and rings on an incoming call, but no audio either way. (No audio problems if client is within the Asterisk server's LAN of course)
SDraconis
Newsterisk
 
Posts: 1
Joined: Thu Dec 21, 2006 10:56 pm


Return to Asterisk Support

Who is online

Users browsing this forum: cuban_cigar, Exabot [Bot] and 19 guests