LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-04-2010, 05:25 PM   #1
krassyo
LQ Newbie
 
Registered: Sep 2003
Posts: 20
Blog Entries: 1

Rep: Reputation: 0
Question Problems with OpenVPN and Debian Lenny


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.

Last edited by krassyo; 02-04-2010 at 06:10 PM.
 
  


Reply

Tags
openssh, openssl, openvpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems after Debian Lenny upgrade ludo33 Linux - Server 15 09-12-2009 01:43 PM
Can someone correct my script/improve to install OPENVPN - SERVER for Lenny / Debian? frenchn00b Linux - Server 0 08-27-2009 03:28 PM
Video problems on debian lenny amd64 Zyndarius Debian 7 12-05-2008 02:58 PM
Nvidia problems again-Debian lenny Vassos Linux - Software 3 08-12-2008 04:46 PM
Problems installing Debian Lenny. ghostofsin Debian 4 08-10-2007 06:32 PM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration