Hello Michael,
Thanks for the document, I have configure the server as documented understanding still getting some errors kindly note given below details.
{server config}
mode server
tls-server
port 80
dev tun
topology subnet
client-cert-not-required
username-as-common-name
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
ifconfig 10.2.13.1 10.2.13.10
push "redirect-gateway def1 bypass-dhcp"
cipher AES-256-CBC
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.4.4"
duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
route-method exe
script-security 3
auth-user-pass-verify "C:/php/php.exe C:/scripts/ldap.php" via-file
{client config}
client
dev tun
proto tcp
remote xx.xx.229.130 80
nobind
persist-key
persist-tun
ca ca.crt
tls-auth ta.key 1
cipher AES-256-CBC
comp-lzo
verb 3
mute 20
route-method exe
route-delay 2
auth-user-pass login.conf
reneg-sec 0
tun-mtu 1500
mssfix 1450
Getting error at client side logs please advise.
Wed Feb 06 16:28:11 2013 SENT CONTROL [Server]: 'PUSH_REQUEST' (status=1)
Wed Feb 06 16:28:11 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 208.67.222.222,dhcp-option DNS 8.8.4.4,ping 10,ping-restart 120'
Wed Feb 06 16:28:11 2013 OPTIONS IMPORT: timers and/or timeouts modified
Wed Feb 06 16:28:11 2013 OPTIONS IMPORT: route options modified
Wed Feb 06 16:28:11 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Feb 06 16:28:11 2013 ROUTE default_gateway=192.168.20.1
Wed Feb 06 16:28:11 2013 TAP-WIN32 device [Open connection] opened: \\.\Global\{9D9D0336-1476-4B02-A401-5C59FEFE2449}.tap
Wed Feb 06 16:28:11 2013 TAP-Win32 Driver Version 9.6
Wed Feb 06 16:28:11 2013 TAP-Win32 MTU=1500
Wed Feb 06 16:28:11 2013 ERROR: --dev tun also requires --ifconfig
Wed Feb 06 16:28:11 2013 Exiting