Hello,
I am trying to build an OpenVPN tunnel with Debian 5.0.4 installed on VirtualBox machine and OpenVPN 1.1.1.
I have a very strange issue: I am using easy-rsa to generate my keys with
source vars
./clean-all
./build-dh
./pkitool --initca
./pkitool --server server
./pkitool client
then I start OpenVPN and tadaa:
Code:
Fri Feb 5 01:17:09 2010 192.168.56.1:1194 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Feb 5 01:17:09 2010 192.168.56.1:1194 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Feb 5 01:17:09 2010 192.168.56.1:1194 Local Options hash (VER=V4): '530fdded'
Fri Feb 5 01:17:09 2010 192.168.56.1:1194 Expected Remote Options hash (VER=V4): '41690919'
Fri Feb 5 01:17:09 2010 192.168.56.1:1194 TLS: Initial packet from 192.168.56.1:1194, sid=02033446 b656c1e1
Fri Feb 5 01:17:09 2010 read UDPv4 [ECONNREFUSED|ECONNREFUSED|ECONNREFUSED]: Connection refused (code=111)
Fri Feb 5 01:17:11 2010 read UDPv4 [ECONNREFUSED|ECONNREFUSED|ECONNREFUSED|ECONNREFUSED]: Connection refused (code=111)
Then I following the same key generation procedure with my Ubuntu and Slackware virtual machines and then move all generated keys to my Debian and restart OpenVPN server to find out that keys generated with these virtual machines are working well with my OpenVPN on Debian.
Does anybody have an idea what am I missing and why keys generated with my Debian virtual machine are corrupted?
Thank you for your help!
EDIT: Self-fixed the issue. Installing ssl dev package fixed it.