I am pulling what little hair I have left in trying to register the phone with VPN active. I followed Lorne’s comment and provisioned my new S500 to work with the PBX locally to ensure it functions correctly.
Then I followed Tony’s instructions (below) to the letter and followed the Wiki to the letter (I must be missing something) but I cannot get the phone to register. It says VPN active but not obtaining a VPN IP address, I have port 1194 open and pointing to the FreePBX server.
Running the latest FreePBX 18.104.22.168, has anything changed since this thread on March 2017? Anyone willing to point me in the right direction? Please and thank you.
Guys I think you are all way over complicating this
The wiki here outlines it. http://wiki.freepbx.org/display/PHON/VPN+Setup 192
You dont have to download any tar files, you dont have to change templates.
Once you enable VPN for a user in user manager and have your VPN server running all you do is in end point manager you go edit extension routing and tell the extension what VPN client to use. This will rebuild the config for that phone and have it connect to the PBX using the VPN IP not the IP defined in the template.