Discussion:
[blfs-support] Openvpn client failing at startup
DJ Lucas via blfs-support
2018-12-09 18:10:24 UTC
Permalink
Hi   I know VPN is not covered in BLFS, but I'm hoping someone can
help here.   This appears a systemd problem with chroot?  I don't
understand.   When starting the service file for the openvpn client I
get:  
Do you need to chroot in your VPN config? Does the same conf work when
started manually? This is an openvpn-client error, so probably need to
examine the client log. systemd is only reporting the error that the
client throws.

--DJ
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq
Cliff McDiarmid via blfs-support
2018-12-09 20:46:19 UTC
Permalink
Hi I know VPN is not covered in BLFS, but I'm hoping someone can
help here. This appears a systemd problem with chroot? I don't
understand. When starting the service file for the openvpn client I
Do you need to chroot in your VPN config?
Not that I'm aware of. E.g.

remote uk-man.privatevpn.com 1194 udp
nobind
dev tun

# Options
tun-ipv6
remote-cert-tls server
client
comp-lzo
persist-key
persist-tun
verb 3

# Crypto
cipher AES-128-GCM
auth SHA256
auth-user-pass
Does the same conf work when started manually?
Yes, E.g. openvpn --config PrivatVPN-UK-Manchester-TUN-1194.ovpn
This is an openvpn-client error, so probably need to
examine the client log.
systemd is only reporting the error that the
client throws.
Ok. Will go on the look. Not in usual place.

Thanks

Cliff
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above informat
Loading...