Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed an asterisk on my private network(so it s behind a router ). Is there anu way to set the asterisk on a public ip though it's installed in a server with private ip? As Ive read it ispossible using externip and externhost.

My second question is: Can I set a specific name over the domain? I mean can I associate ip:xxx.xxx.xxx.xx with my_domain? How to set this on asterisk?

I am new to this stuff. need some help! appreciate

share|improve this question

2 Answers 2

up vote 0 down vote accepted

This has more to do with your router than asterisk. You want to set up forwarding rules on your router for specific ports from the router to the machine running asterisk. The router will forward the socket connections from the router to asterisk and asterisk won't know it isn't facing the internet directly. I don't know the asterisk ports, but I'm sure they're listed in a config file somewhere. Alternatively, and I don't recommend this, you can set up again in the router config, the machine running asterisk to be the DMZ, which means basically any inbound connections to your router from the internet go to the machine you designate as DMZ. If you have lots of services to forward this is easier than setting up rules, but just for one thing like asterisk, you're better up just setting up forwarding rules for the specific ports you need.

share|improve this answer
    
thX Stu for your answers. You did light me up! Appreciate a lot! I did post a new question. If you have any solutions to it please teach me! appreciate –  mee Nov 8 '11 at 7:55

As for setting up a DNS name to point to your ip address, you need a DNS provider. Your registraar (godaddy, network solutions, etc) probably sells this service for a few bucks a year.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.