Hi,
I am trying to install openvpn server in chroot mode. my server is working fine (without chroot is working with client digital certificate & --auth-user-pass-verify username/password) .
when I enabled chroot .. server started listening without any trouble (with chroot succedded message in server log). But when client tries to connect AUTH_FAIL is happening and the server log says
"Failed running command (--auth-user-pass-verify) : could not execute external program"
I am currently clueless.. any help is well appreciated... thanks
chroot incompatability with --auth-user-pass-verify
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 9
- Joined: Mon Apr 23, 2012 8:50 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: chroot incompatability with --auth-user-pass-verify
The Manual wrote:Chroot to dir after initialization. --chroot essentially redefines dir as being the top level directory tree (/). OpenVPN will therefore be unable to access any files outside this tree.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Mon Apr 23, 2012 8:50 am
Re: chroot incompatability with --auth-user-pass-verify
But, I guess there must be a way to do it.TinCanTech wrote:The Manual wrote:Chroot to dir after initialization. --chroot essentially redefines dir as being the top level directory tree (/). OpenVPN will therefore be unable to access any files outside this tree.