[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN Beginner


  • Subject: Re: [Openvpn-users] OpenVPN Beginner
  • From: Jon Bendtsen <jon.bendtsen@xxxxxxxxxx>
  • Date: Mon, 2 Jan 2006 22:38:32 +0100

Den mandag 2.jan kl. 20:26 skrev Ben:

Jon Bendtsen wrote:
Den søndag 1.jan kl. 19:25 skrev Ben:

Hello, I am trying to set up an OpenVPN server to run on a FreeBSD
6-CURRENT system. The problem that I am having is getting the OpenVPN
server to even start. When attempting to start the server I get the
following error:


root@chiefwiggum# openvpn --config static.cfg
Sun Jan 1 12:18:27 2006 OpenVPN 2.0.5 i386-portbld-freebsd6.0 [SSL]
[LZO] built on Dec 19 2005
Sun Jan 1 12:18:27 2006 IMPORTANT: OpenVPN's default port number is now
1194, based on an official port number assignment by IANA. OpenVPN
2.0-beta16 and earlier used 5000 as the default port.
Sun Jan 1 12:18:27 2006 Insufficient key material or header text not
found found in file 'keys/server.key' (0/128/256 bytes found/min/ max)

how big is that keys/server.key file?

What does it contain? What are your configurations files?



JonB
The server.key file was fine. Your question about the configuration file
turned out to be the right question though. I was using a configuration
file that one of the sites gave and it turned out to be bad. Things are
working now, I think. I'll have to do some testing tomorrow when I'm on
a different network to see how things go. Then I'll have to try to
figure out how to force traffic through the tunnel.

Force traffic through the tunnel? That is done by routing. If you mean all traffic, use --redirect-gateway

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00026.html on line 209

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00026.html on line 209