Hi,
I’ve got a problem with a couple of S500 phones that just won’t connect to the FreePBX VPN server.
I’ve got 3 phones all working fine but a couple of others just won’t connect, they all have the same firmware.
They have all been provisioned locally to get the config files but on the ones not working it is like they aren’t receiving the OpenVPN files or something.
They are not making a VPN connection under System Admin > VPN Server.
And if I go to the web server for the phone under Home > Ipv4, next to VPN address it says File Not Exist
I’ve tried factory resets and re-configuring.
Is there away to manually upload the VPN config files?
Does anybody have any pointers where to look further?
I had similar problems last night. After several tries, I was ultimately successful, but not sure what part worked. I did try tftp as the option - that appeared to work once - but not every time.
I did put in the name of the VPN key file in the provisioning tab and clicked auto-provision. They may have worked, not clear again. I was pushing lots of buttons and sometimes it worked and sometimes it didn’t.
I think what was successful was making sure the files were correct on the server & putting in the provisioning address on the web page and then clicking the provision now button. The it provisioned and had the VPN key address on the lower part of the page. Then provisioned again.
Did you check the files are all generated in the /tftpboot directory? And check that you could get them as with whatever permissions you set within the phone?
brk,
Great help.
Looking in the /tftpboot folder I can see some of the vpn.tar files for the phones that are working but no files exist for the phones that are not working.
So next question any idea how I can force the system to create the vpn.tar files for the missing phones?
ensure the latest firmware is setup for the Sangoma phone in the EPM
ensure the PBX on Sangoma portal is setup with the correct redirection settings under the deployment, for us this was using the FreePBX local ip and http on port 84
register the phone with the deployment
Add the VPN client in EPM and then rebuild
Factory reset the phone (when on the LAN)
Everything then worked OK, the phone got provisioned, tar ball got generated and the phones worked great off site using the VPN.