Re: [leaf-user] openvpn server in v6

2017-02-16 Thread Trev Peterson
Shouldn't the paths be relative to /etc/openvpn?  Did you try copying
the keys there and adjusting the relative paths?  Might not be a bug at
all.

On Thu, 2017-02-16 at 09:01 +1100, Mark Berndt wrote:
> Hello all,
> 
> I just upgraded to v6.02 and had some time to play with the openvpn
> server, 
> which did not work out of the box when I migrated from 5 to 6.
> 
> the problem was the paths are no longer relative to a base so in the 
> server.conf:
> 
> ca keys/ca.crt
> cert keys/Server.crt
> key keys/Server.key  # This file should be kept secret
> Additionally set the path to the key with the Diffie-Hellman
> parameters: 
> dh keys/dh1024.pem
> 
> works when converted to:
> 
> ca /etc/easyrsa/keys/ca.crt
> cert /etc/easyrsa/keys/Server.crt
> key /etc/easyrsa/keys/Server.key  # This file should be kept secret
> Additionally set the path to the key with the Diffie-Hellman
> parameters: 
> dh /etc/easyrsa/keys/dh1024.pem
> 
> I still have problem with hostapd with a usb wifi, otherwise
> everything else I 
> use work
> 
> cheers
> 
> Marko
> 
> 
> ---
> ---
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ---
> -
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
-- 
Trev Peterson
Advanced Reality
Email: t...@advanced-reality.com
Phone: +1 847 406 9018




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] openvpn server in v6

2017-02-15 Thread Mark Berndt
Hello all,

I just upgraded to v6.02 and had some time to play with the openvpn server, 
which did not work out of the box when I migrated from 5 to 6.

the problem was the paths are no longer relative to a base so in the 
server.conf:

ca keys/ca.crt
cert keys/Server.crt
key keys/Server.key  # This file should be kept secret
Additionally set the path to the key with the Diffie-Hellman parameters: 
dh keys/dh1024.pem

works when converted to:

ca /etc/easyrsa/keys/ca.crt
cert /etc/easyrsa/keys/Server.crt
key /etc/easyrsa/keys/Server.key  # This file should be kept secret
Additionally set the path to the key with the Diffie-Hellman parameters: 
dh /etc/easyrsa/keys/dh1024.pem

I still have problem with hostapd with a usb wifi, otherwise everything else I 
use work

cheers

Marko


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/