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

    Unable to import ovpn

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 1.1k 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.
    • C Offline
      coreybrett
      last edited by

      I have exported my client config using the Client Export package, as an "OpenVPN Connect (iOS/Android)" file.
      Then I emailed the file to myself. When I try to open it, I get "An error has occurred while reading the OPML document:Unexpected token (position:TEXT persist-tun pers…@16:1 in java.io.InputStreamReader@2dd056a)"

      I'm running 2.3.5-RELEASE (amd64) and version 1.1.22 of the client on my Moto 4.

      Has anyone else seen this?

      1 Reply Last reply Reply Quote 0
      • G Offline
        GavinM
        last edited by

        Executables often do not email well.

        Try sending file directly to device using a cable.

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

          The OpenVPN connect app is quirky, did you export the version that's actually for OpenVPN connect?

          This OpenVPN app is much, much better: https://play.google.com/store/apps/details?id=de.blinkt.openvpn

          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
          • C Offline
            coreybrett
            last edited by

            Thanks for the help. I figured out what was happening. I had another application (AntennaPod) on my phone that was registered to open .ovpn files. That was the application that was generating the error messages. I had to download the file, then import it from within OpenVPN Connect, instead of opening the file from my email.

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