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

Re: [Openvpn-users] Change OpenVPN server, can I use the same client configurations?


  • Subject: Re: [Openvpn-users] Change OpenVPN server, can I use the same client configurations?
  • From: "Steve Matheson" <smatheson@xxxxxxxxxxxxxxx>
  • Date: Wed, 8 Nov 2006 16:24:39 -0400

Thanks Charles and Eero for responding so quickly.  Right you are, once I
copied over the network settings, installed openvpn, it was just a matter of
copying these files:

scp /etc/openvpn/ca.crt <newsysname>:/etc/openvpn
scp /etc/openvpn/server.* <newsysname>:/etc/openvpn
scp /etc/openvpn/dh1024.pem <newsysname>:/etc/openvpn

Yup... it works!

Of course, I would also like to use this new system to make new client keys.

scp -r /usr/share/doc/openvpn/examples/easy-rsa/keys
<newsysname>:/usr/share/doc/openvpn/examples/easy-rsa/keys

On the new machine:

# cd /usr/share/doc/openvpn/examples/easy-rsa
# . ./vars
# ./build-key SampleClient
./build-key: line 15: openssl: command not found

# apt-get install openssl

# ./build-key SampleClient
error on line -1 of /usr/share/doc/openvpn/examples/easy-rsa/openssl.cnf
763:error:02001002:system library:fopen:No such file or
directory:bss_file.c:104:fopen('/usr/share/doc/openvpn/examples/easy-rsa/ope
nssl.cnf','rb')
763:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:107:
763:error:0E064072:configuration file routines:CONF_load:no such
file:conf_def.c:197:


Hmmm... what did I miss here?


Steve Matheson
  
-----Original Message-----
From: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Charles
Duffy
Sent: November 8, 2006 12:40 PM
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Openvpn-users] Change OpenVPN server,can I use the same client
configurations?

The reason there's no HOWTO is that there's really nothing to it: Copy 
over the files with your configuration and keys; make sure your firewall 
does what it needs to; and there you are. Remote clients will 
renegotiate their sessions after the switchover, and otherwise continue 
as they were.

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


______________________
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-11/msg00086.html on line 232

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-11/msg00086.html on line 232