# Implement a VoIP outside of our LAN

**URL:** <https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334>\
**Category:** Asterisk Support\
**Created:** [May 25, 2012, 7:12pm UTC](https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334 "2012-05-25T19:12:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 25, 2012, 7:12pm UTC](https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334/1 "2012-05-25T19:12:07Z")

</div>

We have an Asterisk 1.6 configured and working. SIP as the authentication, and no major modification… Our users use Aastra 6757i phones as phone hardware. There is firewall setup in our network and NATted.

We are interested in implementing a VoIP for our external employees (remote). How can I go about this? I research and we can either do HTTP or VPN (any other)? Since we are using SIP, can we use IAX2 for remote users, or using both will not work?

What’s the best way of going about connecting our remote users? If possible, we want to be able to shipp the remote users our Aastra 6757i, and with a simple authentication (username and password)… they will be able to make internal and external using our VoIP. I know it offers a lot of security risk… but I did find a lot of websites on how to tie down our Asterisk for SIP. However, any help would be very helpful to me.

Thanks,  
K

---

<div class="post-metadata">

**Author:** ![dejanst](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@dejanst](https://community.asterisk.org/u/dejanst)\
**Post date:** [May 28, 2012, 11:32am UTC](https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334/2 "2012-05-28T11:32:00Z")

</div>

I think that the best way is to use a VPN. So every remote user would have to have a secure VPN connection through which it would access your IP PBX server.

The second way would be to open the SIP and RTP ports on your NAT router that is in front of your Asterisk server. This is a much less secure option - if you want to go down that road, take your time and maximize your server security.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 30, 2012, 11:28pm UTC](https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334/3 "2012-05-30T23:28:04Z")

</div>

Thank you dejanst!

My company has VPN, SonicWall, installed. I’m researching now, if there is a way for SonicWall to create a VPN for SIP and UDP for Asterisk.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [May 31, 2012, 7:07am UTC](https://community.asterisk.org/t/implement-a-voip-outside-of-our-lan/39334/4 "2012-05-31T07:07:22Z")

</div>

SIP normally uses UDP.

Any good VPN should be invisible to its users.
