I'm sorry I didn't include much information, I had assumed I could go back and edit it and the topic approval thing kinda surprised me.
The server has the files:
ca ca.crt
cert JustinDesktop.crt
key JustinDesktop.key
In relation to the client, as well as the other files like ta.key, etc. that are generated in the tutorial.
My client config JustinDesktop.ovpn is:
client
dev tap0
proto udp
remote 24.23.50.193 56
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert JustinDesktop.crt
key JustinDesktop.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
My server.conf is:
local 10.1.10.70
port 56
proto udp
dev tap0
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 10.1.10.70 255.255.255.0 10.1.10.150 10.1.10.165
push "route 10.1.10.1 255.255.255.0"
push "dhcp-option DNS 10.1.10.1"
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
When I try to use the OpenVPN client I get the following errors:
Wed May 30 14:58:11 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Wed May 30 14:58:11 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed May 30 14:58:11 2012 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Wed May 30 14:58:11 2012 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed May 30 14:58:11 2012 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed May 30 14:58:11 2012 LZO compression initialized
Wed May 30 14:58:11 2012 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Wed May 30 14:58:11 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed May 30 14:58:11 2012 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Wed May 30 14:58:11 2012 Local Options hash (VER=V4): '13a273ba'
Wed May 30 14:58:11 2012 Expected Remote Options hash (VER=V4): '360696c5'
Wed May 30 14:58:11 2012 UDPv4 link local: [undef]
Wed May 30 14:58:11 2012 UDPv4 link remote: 24.23.50.193:56
Wed May 30 14:59:11 2012 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed May 30 14:59:11 2012 TLS Error: TLS handshake failed
Wed May 30 14:59:11 2012 TCP/UDP: Closing socket
Wed May 30 14:59:11 2012 SIGUSR1[soft,tls-error] received, process restarting
Wed May 30 14:59:11 2012 Restart pause, 2 second(s)
Wed May 30 14:59:13 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed May 30 14:59:13 2012 Re-using SSL/TLS context
Wed May 30 14:59:13 2012 LZO compression initialized
Wed May 30 14:59:13 2012 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Wed May 30 14:59:13 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed May 30 14:59:13 2012 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Wed May 30 14:59:13 2012 Local Options hash (VER=V4): '13a273ba'
Wed May 30 14:59:13 2012 Expected Remote Options hash (VER=V4): '360696c5'
Wed May 30 14:59:13 2012 UDPv4 link local: [undef]
Wed May 30 14:59:13 2012 UDPv4 link remote: 24.23.50.193:56
Wed May 30 14:59:23 2012 TCP/UDP: Closing socket
Wed May 30 14:59:23 2012 SIGTERM[hard,] received, process exiting
My server's ifconfig is:
br0 Link encap:Ethernet HWaddr 00:1e:90:38:25:11
inet addr:10.1.10.70 Bcast:10.1.10.255 Mask:255.255.255.0
inet6 addr: fe80::21e:90ff:fe38:2511/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19753 errors:0 dropped:0 overruns:0 frame:0
TX packets:8580 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15090609 (15.0 MB) TX bytes:1033886 (1.0 MB)
eth0 Link encap:Ethernet HWaddr e0:46:9a:2b:bc:ca
inet6 addr: fe80::e246:9aff:fe2b:bcca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25878 errors:0 dropped:0 overruns:0 frame:0
TX packets:40832 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2895601 (2.8 MB) TX bytes:59358345 (59.3 MB)
Interrupt:19 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:1e:90:38:25:11
inet6 addr: fe80::21e:90ff:fe38:2511/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:66907 errors:0 dropped:0 overruns:0 frame:0
TX packets:41282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:82792474 (82.7 MB) TX bytes:4728107 (4.7 MB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88 (88.0 B) TX bytes:88 (88.0 B)
tap0 Link encap:Ethernet HWaddr e2:c1:2a:bd:23:b8
inet6 addr: fe80::e0c1:2aff:febd:23b8/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
It might also be worth mentioning that I have the following files on the client in D:\Program Files (x86):\OpenVPn\config\ :
ca.crt
JustinDesktop.crt
JustinDesktop.key
ta.key
JustinDesktop.ovpn
Thank you for the reply.