I installed OpenVPN 2.2.0 in a newly created centos 5.5 server by following instructions from:
http://www.webhostingtalk.com/showthread.php?t=1024872
Everything works fine, I can connect from my windows machine with username and password, no issues. However instead of using command line, if I run ovpn in daemon mode I get authentication failure:
"Could not create temporary file '/tmp/openvpn_*****.tmp': Permission denied"
I then added these two lines on to my config file as advised in some other threads in this forum.
script-security 3
tmp-dir /etc/openvpn/tmp
Now, the permission error is gone, but the authentication still failing:
PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so
TLS Auth Error: Auth Username/Password verification failed for peer
anybody has come accross this ? any suggestions ?
Thanks