Create a Client File for Windows Client
You can create a client file with .ovpn extension with a text editor (e.g. notepad++), or download a client.ovpn sample file.
Note: The line beginning with “;” is considered to disable the corresponding option.
Open the client.ovpn file with a text editor.
Edit the following options according to the VPN server settings on your PBX.
Note: The client and server must use the same settings.
a.Specify the hostname/IP and port of VPN server.
In this example, we have forwarded the VPN server 10.8.0.1 1194 to 172.16.1.63 1194.
remote 172.16.1.63 1194
b. Set the protocol to UDP or TCP.
In this example, UDP is enabled, and TCP is disabled.
c. Set the device mode to TAP or TUN.
In this example, TAP is disabled, and TUN is enabled.
d. Set the cryptographic cipher.
In this example, AES-256 is set on server, then enable AES-256-CBC.
e. If Compression is enabled on server, you need to enable compression on the VPN client.
f. If SSL/TLS and a ta.key is used on the server, you need to specify the TLS Authentication & TA Key.
tls-auth ta.key 1
g. Specify the CA certificate file used on server.
3. Specify the Windows client certificate and key file.
In this example, client.crt and client.key is specified.
4. Edit other options according to your need.
;http-proxy [proxy server] [proxy port #]
5. Save the client file.
You can rename client.ovpn to identify.