UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jagdtigger
    3. Best
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: OpenVPN setup does not offer what i need for my vpn server....

      @arubislander said in OpenVPN setup does not offer what i need for my vpn server....:

      @jagdtigger Do you have an Ubuntu Desktop PC you could configure your VPN on and see if it works? Preferably one running the very same base version as the UT you have on your device. So 20.04 or 24.04.

      Once you get that set-up in a satisfactory manner, you could then export the configuration to a .ovpn file, which you could then install with nmcli on UT.

      Sorry for the long radio silence, i was practically zombie the whole week. ATM i do not have any machines that run ubuntu, but my router does have a ovpn export. Here is a redacted version:

      dev tun
      persist-tun
      persist-key
      data-ciphers AES-256-GCM:CHACHA20-POLY1305
      data-ciphers-fallback AES-256-GCM
      auth SHA512
      tls-client
      client
      resolv-retry infinite
      remote domain port udp4
      setenv opt block-outside-dns
      nobind
      verify-x509-name "some-name" name
      auth-user-pass
      remote-cert-tls server
      explicit-exit-notify
      redirect-gateway def1
      <ca>
      -----BEGIN CERTIFICATE-----
      <snip>
      -----END CERTIFICATE-----
      </ca>
      <cert>
      -----BEGIN CERTIFICATE-----
      <snip>
      -----END CERTIFICATE-----
      </cert>
      <key>
      -----BEGIN EC PRIVATE KEY-----
      <snip>
      -----END EC PRIVATE KEY-----
      </key>
      <tls-crypt>
      #
      # <snip> bit OpenVPN static key
      #
      -----BEGIN OpenVPN Static key V1-----
      <snip>
      -----END OpenVPN Static key V1-----
      </tls-crypt>
      
      

      /EDIT
      Nope, it wont connect. Errors in vpn server log:

      TLS Error: tls-crypt unwrapping failed from [AF_INET]<phone_ip>
      tls-crypt unwrap error: packet too short
      

      (And yes im trying to connect over cellular not local wifi.)

      posted in Support
      J
      jagdtigger