Client
client
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program_Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program_Files\\OpenVPN\\config\\discovery2.crt"
key "C:\\Program_Files\\OpenVPN\\config\\discovery2.key"
ns-cert-type server
comp-lzo
verb 3
Server
port 1194
proto udp
dev tun
ca "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.key" # This file should be kept secret
dh c:\\program files (x86)\\openvpn\\config\\dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
<dh>
-----BEGIN DH PARAMETERS-----
-----END DH PARAMETERS-----
</dh>
As you can see I just edited the sample files. Generated the certs and keys. It's my first time trying to set up a VPN though so I expected to run into issues. Thank you for your help