ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved OpenVPN on Android

    IT Discussion
    android android apps openvpn vpn
    4
    13
    2.6k
    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.
    • G
      gjacobse
      last edited by

      Has anyone used OpenVPN on Android?

      I have to add the connection to a client device, but I don't have any (found) documentation on the process.

      T 1 Reply Last reply Reply Quote 0
      • S
        scottalanmiller
        last edited by

        OpenVPN has many variables. First step is getting the app, which I've never seen and don't know if there are one or many different ones.

        The second is getting the documentation on the OpenVPN implementation at the site. There is no generic OpenVPN setup.

        1 Reply Last reply Reply Quote 0
        • C
          coliver
          last edited by

          @gjacobse said in OpenVPN on Android:

          OpenVPN on Android

          Did you download the app first?
          https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en

          G 1 Reply Last reply Reply Quote 0
          • G
            gjacobse @coliver
            last edited by

            @coliver said in OpenVPN on Android:

            @gjacobse said in OpenVPN on Android:

            OpenVPN on Android

            Did you download the app first?
            https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en

            Yes -

            1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller
              last edited by

              Did you get the details from the existing OpenVPN infrastructure?

              1 Reply Last reply Reply Quote 0
              • T
                triple9 @gjacobse
                last edited by

                @gjacobse said in OpenVPN on Android:

                Has anyone used OpenVPN on Android?

                I have to add the connection to a client device, but I don't have any (found) documentation on the process.

                I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
                Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.

                G 1 Reply Last reply Reply Quote 0
                • G
                  gjacobse @triple9
                  last edited by

                  @triple9 said in OpenVPN on Android:

                  @gjacobse said in OpenVPN on Android:

                  Has anyone used OpenVPN on Android?

                  I have to add the connection to a client device, but I don't have any (found) documentation on the process.

                  I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
                  Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.

                  Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...

                  I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.

                  T 1 Reply Last reply Reply Quote 0
                  • G
                    gjacobse
                    last edited by

                    Error Reading file reference by profile : xx-router-tls-auth.key : cannot open for read,....

                    Hmm okay. let me see if I have the key and place in the same location.

                    G 1 Reply Last reply Reply Quote 0
                    • T
                      triple9 @gjacobse
                      last edited by

                      @gjacobse said in OpenVPN on Android:

                      @triple9 said in OpenVPN on Android:

                      @gjacobse said in OpenVPN on Android:

                      Has anyone used OpenVPN on Android?

                      I have to add the connection to a client device, but I don't have any (found) documentation on the process.

                      I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
                      Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.

                      Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...

                      I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.

                      sample unified ovpn profile:

                      client
                      dev tun
                      proto udp
                      remote vpnserver.something.com 1194
                      resolv-retry infinite
                      nobind
                      persist-key
                      persist-tun
                      verb 1
                      cipher AES-256-CBC
                      auth SHA1
                      dhcp-option DNS 8.8.8.8
                      
                      # SMB WINS name server if you have one
                      #dhcp-option WINS 192.168.1.1
                      
                      # route to multiple networks
                      route 10.0.0.0 255.255.0.0
                      
                      
                      # CA cert
                      <ca>
                      -----BEGIN CERTIFICATE-----
                      .... CA content
                      -----END CERTIFICATE-----
                      </ca>
                      
                      # VPN Client Certificate
                      <cert>
                      -----BEGIN CERTIFICATE-----
                      .... client cert
                      -----END CERTIFICATE-----
                      </cert>
                      
                      # key
                      <key>
                      -----BEGIN RSA PRIVATE KEY-----
                      .......key
                      -----END RSA PRIVATE KEY-----
                      </key>
                      

                      it depends on your server setup. Put your CA cert, client cert and private key at appropriate positions. Save it as client.ovpn and import into OpenVPN client.

                      1 Reply Last reply Reply Quote 1
                      • G
                        gjacobse @gjacobse
                        last edited by

                        @gjacobse said in OpenVPN on Android:

                        Error Reading file reference by profile : xx-router-tls-auth.key : cannot open for read,....

                        Hmm okay. let me see if I have the key and place in the same location.

                        Error reading key -

                        @triple9 said in OpenVPN on Android:

                        @gjacobse said in OpenVPN on Android:

                        @triple9 said in OpenVPN on Android:

                        @gjacobse said in OpenVPN on Android:

                        Has anyone used OpenVPN on Android?

                        I have to add the connection to a client device, but I don't have any (found) documentation on the process.

                        I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
                        Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.

                        Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...

                        I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.

                        sample unified ovpn profile:

                        client
                        dev tun
                        proto udp
                        remote vpnserver.something.com 1194
                        resolv-retry infinite
                        nobind
                        persist-key
                        persist-tun
                        verb 1
                        cipher AES-256-CBC
                        auth SHA1
                        dhcp-option DNS 8.8.8.8
                        
                        # SMB WINS name server if you have one
                        #dhcp-option WINS 192.168.1.1
                        
                        # route to multiple networks
                        route 10.0.0.0 255.255.0.0
                        
                        
                        # CA cert
                        <ca>
                        -----BEGIN CERTIFICATE-----
                        .... CA content
                        -----END CERTIFICATE-----
                        </ca>
                        
                        # VPN Client Certificate
                        <cert>
                        -----BEGIN CERTIFICATE-----
                        .... client cert
                        -----END CERTIFICATE-----
                        </cert>
                        
                        # key
                        <key>
                        -----BEGIN RSA PRIVATE KEY-----
                        .......key
                        -----END RSA PRIVATE KEY-----
                        </key>
                        

                        it depends on your server setup. Put your CA cert, client cert and private key at appropriate positions. Save it as client.ovpn and import into OpenVPN client.

                        so it should not be a separate file

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          triple9 @gjacobse
                          last edited by

                          @gjacobse it can be, but it is much easier using unified format. Otherwise you need all files in same place and you have to pay attention if paths are correct.

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            gjacobse @triple9
                            last edited by

                            @triple9 said in OpenVPN on Android:

                            @gjacobse it can be, but it is much easier using unified format. Otherwise you need all files in same place and you have to pay attention if paths are correct.

                            Cool - Great. Imported.

                            PolarSSL: CA certificate is undefined.

                            just one more hurdle to pass..

                            1 Reply Last reply Reply Quote 0
                            • G
                              gjacobse
                              last edited by

                              Doing a bit of reverse name matching... I may have it now.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post