7.2 Set up the client configuration file

Edit a text file (using Notepad or any text editor) and save it as C:\Program Files\OpenVPN\config\client1.ovpn. The following is the content of this file:

client ; indicate this configuration file is for a client  
dev tap ; TAP instead of TUN  
dev-node tap-client1 ; this is the TUN/TAP interface to configure  
proto udp ; use UDP instead of TCP  
remote localhost 1194 ; we are only connecting to the localhost  
resolv-retry infinite  
nobind  
persist-key  
persist-tun  
ca ../easy-rsa/keys/ca.crt  
cert ../easy-rsa/keys/ciss342-client1.crt  
key ../easy-rsa/keys/ciss342-client1.key  
tls-auth ../easy-rsa/keys/ta.key 1  
ns-cert-type server  
comp-lzo  
verb 3