December 14, 2019, 02:34:00 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: VPN configuration help Obihai 1022  (Read 229 times)
Nukechaser
Newbie
*
Posts: 2


« on: November 04, 2019, 11:25:31 am »

Hello!

I have successfully configured and have been using OpenVPN with my home router.

My cellphones, iPad,  and laptop have no problem connecting to my home VPN server and surfing the web from there as well as connecting to my FreePBX server as extensions on my PBX.

For those devices, it is easily setup using a client app. However, I'm stuck with one part of the configuration via ObiTALK. The last line of the OpenVPN Client configuration field is trying to point to where the "client.ovpn" file is located.  Is has a default of ${USERDIR}/vpn/client.ovpn

I understand this is indicating that the file "client.ovpn" is within a folder called "vpn", but the ${USERDIR} is what is confusing me.

To what does ${USERDIR} refer?  C:\  and therefore C:\vpn\client.ovpn is what I need to create so that ObiTALK can grab it and upload it and then push it to my 1022 phone upon submit/reboot?

Or am I to create a \vpn\client.ovpn instance somewhere else?

To say it another what, what exactly, would one enter into the last box of the OpenVPN Client section under WAN Settings of System Management?  I've tried everything I can think of, but I don't think my .ovpn configuration file is being uploaded to the phone.



Thanks for any help...



* screenshot.28.jpg (51.28 KB, 663x168 - viewed 7 times.)
Logged
drgeoff
Hero Member & Beta Tester
*****
Posts: 4497


« Reply #1 on: November 04, 2019, 12:34:37 pm »

The Admin Guide (https://www.obitalk.com/info/documents/admin_guide/OBiPhoneAdminGuide.pdf) does not mention VPN but page 42 of the Admin Guide has this:

The default values for the two certificate paths are ${USERDIR}/certs/ca.pem and ${USERDIR}/certs/client.pem where ${USERDIR} represents the root of the user data folders in the Internal drive, which can be accessed from the phone GUI: Main MenuSettingsStorageDevice (use the < and > keys to select Internal)
Logged
Nukechaser
Newbie
*
Posts: 2


« Reply #2 on: November 04, 2019, 02:18:43 pm »

THANK YOU!

That was the hint I needed!

Using the same methodology as mentioned in the "certificate paths", I navigated to the internal memory area and created a new folder called "vpn".

I then plugged a USB thumbdrive into the phone, and again using the phone's GUI, navigated to the USB drive where I had copied my client.ovpn file.

I then clicked the soft key to "copy" the client.ovpn file and it prompted me where I wanted to "paste" it.

I again navigated to the internal memory area, into the newly created "vpn" folder, and then pasted the client.ovpn configuration file into it.

Upon reboot it successfully connected to my FreePBX server via the VPN service.

Thanks again, your tip is just what I needed to figure out what they meant by ${USERDIR}.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC