Remote extensions through VPN


#1

Hi,

What must be the settings for remote extensions when there is site-to-site VPN connection between them ?

The extensions are considered to be local to the FreePBX system so in Asterisk SIP settings need to be defined.

Also do i 've to setup nat=yes in the extension settings ?

Thanks


(David55) #2

VPN devices are indistinguishable from local network devices in a different broadcast area.

nat=yes is deprecated. If Asterisk is on same intranet, the default should be acceptable, as this doesn’t involve any address translation.


#3

So for remote extensions that are connected through VPN to the main site the only thing that is need to define the network as local in Asterisk SIP settings ?

In the following setup nat shoulb be set to yes or not for phone2 ?

PHONE2---------Router////////////VPN//////////////router/Firewall------FreePBX------PHONE1

Thanks for your answer


(David55) #4

nat should be left unset in this case. nat should never be set to yes, but rather to the individual settings actually needed.

Setting it to yes may be relatively harmless, as it doesn’t actually change the addresses used. It’s equivalent to setting force_rport and comedia, I believe.


(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.