Page 1 of 1

Authenticating with just a username/password

Posted: Sun May 19, 2013 6:22 pm
by vigoruser
I'm trying to set up OpenVPN on my router (Draytek Vigor 2830N+) following release of some new firmware which adds OpenVPN capability. They offer both CA and without-CA authentication.

With CA authentication setup: http://www.draytek.com/index.php?option ... 93&lang=en

Without CA authentication setup: http://www.draytek.com/index.php?option ... 93&lang=en

Unfortunately when I try the CA configuration it just causes my router to reboot on attempting a connection so wanted to try the non-CA option to see if that worked. Is there a way to create an *.ovpn config that sets the configuration for username/password authentication only? I have tried using the auth-user-pass setting below but I am getting the following error (in Tunnelblick)

Error message
Options error: You must define CA file (--ca) or CA path (--capath)
Use --help for more information.

Code: Select all

client
dev tun
proto udp
remote x.x.x.x. 1194
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
comp-lzo
verb 3

Re: Authenticating with just a username/password

Posted: Sun May 19, 2013 8:23 pm
by janjust
you will need a CA for openvpn to work with TunnelBlick (AFAIK).
What you don't need is a client certificate.
If your Draytek can't handle a cert based setup then you're out of luck.