Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to connect to an OpenVPN server, the phone utilizes an OpenVPN configuration file (client.ovpn), a Root (CA) certificate (ca.crt) ,client KEY (client.key), and client CRT (client.crt) files.  These files must be manually updated to the phone, using an admin web UI user.  Or, the phone must be configured to retrieve a .tar.gz file containing them, using its configuration file.  The phone will, when directed by its configuration, attempt to cURL those files in from a defined http or tftp server.  

These files can only be retrieved from a location that requires no HTTP authentication, basic HTTP authentication, or digest HTTP authentication.  Once the files are retrieved, the phone will store them locally and will use them on successive boots.  If the phone receives a new configuration file, and the URL has changed, the phone will retrieve the new package and use its contents instead.

...

Code Block
titleA2x VPN Configuration Example
languagexml
<<VOIP CONFIG FILE>>Version:2.0000000000

<VPN CONFIG MODULE>
VPN mode           :2
Enable VPN Tunnel  :1

<AUTOUPDATE CONFIG MODULE>
Auto etc Url       : httphttps://serveruser:password@server.example.com/openvpn/etc.tar.gz
<<END OF FILE>>

...

Code Block
titleA30 VPN Configuration Example
languagexml
<<VOIP CONFIG FILE>>Version:2.0000000000

<VPN CONFIG MODULE>
VPN mode           :2
Enable VPN         :1

<AUTOUPDATE CONFIG MODULE>
Auto etc Url       : httphttps://serveruser:password@server.example.com/openvpn/etc.tar.gz
<<END OF FILE>>

...