View Single Post
  #1   (View Single Post)  
Old 8th May 2010
There0 There0 is offline
./dev/null
 
Join Date: Jul 2008
Posts: 170
Default OpenVPN BSD_Auth

Greetings all, I am having a bit of a problem running the openvpn_bsdauth package correctly. I have added all options to server and client configs with tmp-dir also specified, the user I am trying to authenticate has been added to the _openvpnusers group, also the only one to have write access to tmp-dir folder as stated in the man pages.

I am using the following syntax to authenticate users (added to server.conf file)
auth-user-pass-verify openvpn_bsdauth via-file

Also tried launching openvpn with --script-security 2/3 both system/execve options as well with the exact same error pasted below;

I have also tried both nobody and _openvpn users with exact same error in many different tmp directories in the server config file.

I have tried authenticating with almost every user on my system with no success, all the exact same error.

I have added softdep and noatime to my mount options in /etc/fstab, do not think either is affectin, if anybody does know let me know, thx.


Sat May 8 03:46:05 2010 us=3191 1.1.1.1:1070 Note: cannot open /tmp/ovpn/openvpn_up_4276a440684edf223f9861df2ef7cad4.tmp for WRITE
Sat May 8 03:46:05 2010 us=3281 1.1.1.1:1070 TLS Auth Error: could not write username/password to file: /tmp/ovpn/openvpn_up_4276a440684edf223f9861df2ef7cad4.tmp
Sat May 8 03:46:05 2010 us=3376 1.1.1.1:1070 TLS Auth Error: Auth Username/Password verification failed for peer
__________________
The more you learn, the more you realize how little you know ....
Reply With Quote