[Asterisk-Users] Running Asterisk behind NAT?

John Todd jtodd at loligo.com
Wed Aug 13 01:59:23 MST 2003


This is starting to sound  like a feature request, perhaps by using 
the same method that Cisco phones use (comparison using the Via: 
header, and re-registering if the Via: header is different than the 
known IP address.)

JT


At 11:02 PM -0700 8/12/03, Terence Chan wrote:
>
>Wasim:
>
>Hi! Thanks a lot for your help. I guess the problem is the REGISTER command.
>The <Contact> field is using the local IP address instead of the external
>IP.  I am just wondering if it is possible to tell asterisk what is the
>external IP so that it can be used for the registration.
>
>Thanks again.
>
>Terence
>
>
>-----Original Message-----
>From: asterisk-users-admin at lists.digium.com
>[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
>wasim at convergence.com.pk
>Sent: Monday, August 11, 2003 9:36 PM
>To: asterisk-users at lists.digium.com
>Subject: RE: [Asterisk-Users] Running Asterisk behind NAT?
>
>Yes, you can run Asterisk behind a NAT.
>NO, you CAN'T (reliably, easily) run SIP behind a NAT.
>For FWD think about using their behindnat and fwdproxy addresses.
>Maybe a STUN would help. Also, test your setup infront of NAT also, make
>sure they work, before you head behind a NAT.
>
>--
>wasim
>
>
>This mail is confidential & intended solely for the use of the addressee.
>
>On Tue, 12 Aug 2003, Terence Chan wrote:
>
>>  I would like to ask if it is possible to run Asterisk behind NAT.  I have
>a
>>  linksys router that forwarded the port UDP 5082 to the local IP of my
>>  Asterisk box, I got the error 479 when I try to register my Asterisk box
>>  with FWD. (see detail below).
>>
>>  Have anyone got Asterisk working behind NAT and successfully registers
>with
>>  FWD?
>>
>>  Any pointer or information will be appreciated.
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list