When the OpenVPN s oftware is started, t he C:\Program Files\OpenVPN\config folder will be scanned for
.opvn” files. This folder will be rechecked for new configuration fil es whenever the OpenVPN GUI icon is
right-clicked. So once OpenVPN is installed, a configuration f i l e will need to be created:
Using a text edit or, create an xxxx.ovpn file and save in C:\Program Fil es\OpenVPN\config. For
example, C:\Program Files\OpenVPN\config\client.ovpn
An example of an OpenV PN Windows cl i ent configuration fil e i s sho wn below:
# description: les1216_client
client
proto udp
verb 3
dev tun
remote 192.168.250.152
port 1194
ca c:\\openvpnkeys\\ca.crt
cert c:\\openvpnkeys\\client.crt
key c:\\openvpnkeys\\client.key
nobind
persist-key
persist-tun
comp-lzo
An example of an OpenV PN Windows Serv er configuration f il e i s sh own below:
server 10.100. 10. 0 255. 255.255.0
port 1194
keepalive 10 120
proto udp
mssfix 1400
persist-key
persist-tun
dev tun
ca c:\\openvpnkeys\\ca.crt
cert c:\\openvpnkeys\\server.crt
key c:\\openvpnkeys\\server.key
dh c:\\openvpnkeys\\dh.pem
comp-lzo
verb 1
syslog LES1216_OpenVPN_Server
The Windows client/ server configuratio n f i l e options are:
Options
Description
#description:
This is a comment describing the configuration.
Comment lines start with a ‘#’ and are ignored by OpenVPN.
Client
server
Specify whether this will be a client or s erv er configuration fi l e.
In the server configurat i on file, define the IP address pool and netmask.
For example, server 10.100.10.0 255.255.255.0
proto udp
proto tcp
Set the protocol to UDP or TCP. The client and server must use t he
same settings.
mssfix <max. size>
Mssfix sets the maximum size of the packet. This is only useful for UDP
if problems occur.
verb <level>
Set log file verbosity l evel. Log verbosity l evel can be set from 0
(minimum) to 15 (maximum). For example,
0 = silent except f or f atal errors
3 = medium output, good for general usage

_____________________________________________________________________

724-746-5500 | blackbox.com Page 74