Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th May 2010
There0 There0 is offline
Join Date: Jul 2008
Posts: 169
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 Note: cannot open /tmp/ovpn/openvpn_up_4276a440684edf223f9861df2ef7cad4.tmp for WRITE
Sat May 8 03:46:05 2010 us=3281 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 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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn on openbsd problem.... michaelk OpenBSD Security 8 9th February 2011 04:49 AM
Cannot set up OpenVPN guitarscn OpenBSD Security 8 5th October 2009 05:19 PM
SSH tunneling vs. OpenVPN revzalot OpenBSD Security 8 31st May 2009 06:45 AM
OpenVPN management bichumo General software and network 0 15th July 2008 09:05 AM
OpenVPN - Problem with connections MME General software and network 2 26th May 2008 06:42 PM

All times are GMT. The time now is 10:27 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick