Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Trying to create an OpenVPN client to a public OpenVPN provider

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 4 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      winge
      last edited by

      First of all I think I strolled the forum that much that I'm pretty sure the answer is not out there for me.

      I followed the sticky topic "How to create an OpenVPN client to a public OpenVPN provider", which was great. Up untill checking if it is working ;)

      I get this message in the log:
      openvpn[33727]: Sorry, 'Auth' password cannot be read from a file

      And I read in the forum that it shall be possible to use the auth-user-pass option in 2.0, but as it seems this did not work. Is this temporarily disabled or tampered with in the version I'm running? Which is:

      2.0-BETA4 (amd64)
      built on Fri Nov 12 17:47:44 UTC 2010
      FreeBSD 8.1-RELEASE-p1

      1 Reply Last reply Reply Quote 0
      • E
        ericab
        last edited by

        add this to your advanced section:

        auth-user-pass <location-to-password-file>;

        the password file needs, username on the first line, password on the second.</location-to-password-file>

        1 Reply Last reply Reply Quote 0
        • W
          winge
          last edited by

          @ericab:

          add this to your advanced section:

          auth-user-pass <location-to-password-file>;

          the password file needs, username on the first line, password on the second.</location-to-password-file>

          Yup, this is exactly what I have done.

          1 Reply Last reply Reply Quote 0
          • Z
            Zappza
            last edited by

            Where have you placed the file?

            Don't know if it will do you any good, but you can take a look at my guide: http://forum.pfsense.org/index.php/topic,28969.0.html and see if that helps you :)

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Try again on newer snapshots. I recompiled the OpenVPN client to have the option that allows you to read the username and password from a file.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.