0 votes
Hello community,

How can I override the user/password authentication for OpenVPN, this is why:

I have a Server to Server communication using OpenVPN, but if internet falls and get established again, or due to power issue the remote server goes down, and someone start it again the system ask por user and password.

Any ideas??
Thursday, April 28 2011, 06:24 PM
Share this post:
Responses (1)
  • Accepted Answer

    Thursday, April 28 2011, 07:19 PM - #Permalink
    0 votes
    In the client .ovpn file comment out the "auth-user-pass" line by putting a "#" infront of it, or delete it. Similarly in /etc/openvpn/clients.conf comment out the line "plugin /usr/share/openvpn/plugin/lib/ /etc/openvpn/auth-ldap". You may then need to restart OpenVPN on the server.

    When you have done this you can run openvpn as a service in Windoze so it is transparent to the user.

    The reply is currently minimized Show
Your Reply