I have a bunch of Sangoma S500 connected to FreePBX via the built in VPN Server. Everything works fine for making and receiving calls, etc.
I also setup a user within FreePBX for the purpose of using the VPN profile downloaded from UCP to connect my laptop over the VPN for administrative tasks. This works fine and I can connect to the FreePBX server via 10.8.0.1.
I also want to be able to access the web GUI for the Sangoma phones that are connected via VPN. This is where I run into problems. From my laptop I can only ping the FreePBX server on 10.8.0.1. If I try to ping the 10.8.x.x of the Sangoma phones it fails and I can not access the GUI.
I’ve checked and I have ticked to enable the 10.8.0.0 route under VPN Server Settings:
You can get where you need to go by using an ssh tunnel and a proxy, we do this all day long in support. Using a terminal program (PuTTY if you’re on windows), configure the session with a dynamic tunnel, then config your browser to proxy thru the SOCKS ssh tunnel. I dedicate Firefox for this purpose because it has the native ability to config a proxy, but there are browser plugins to easily toggle on/off. Once configured, you simply browse to the VPN IP of the devices, or any IP the PBX has direct access to.
edit: Thinking further, I may be wrong, if you have your VPN server configured with Gateway enabled and access to the VPN route, the PBX will route between different VPN IPs.