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

    Poor performance and Errors

    OpenVPN
    2
    5
    1.3k
    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.
    • S
      Sit_RP
      last edited by

      Hello,

      I got open vpn running on my box here and it works fine. The only thing that is bothering me is slow upload speeds when I pull files remotly of a shared drive. My upload at home is 5mb cable with some what low latency. When I download files from a shared drive the best i see is about 600k/s. I added these two lines under Advanced configurations in OpenVPN trying to improve performance:

      tun-mtu 1500; mssfix 1400;

      Download speed didn't increase and now I am receiving this error when downloading files:

      miniupnpd[33438]: sendto(udp_notify=14, 192.168.5.100): No buffer space available

      I am not 100% sure which buffer doesn't have enough size but is there a way to increase it? Not sure if this matters but I only use about 20% of available RAM, so if there is a way to twick some setting to increase the buffer that would be awesome. Although, I am no sure if I am on the right path here…

      Thank you.

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

        I have removed those two lines and still receiving those errors…Going to restart the box now see if it clears out.

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

          Looks like that error message is actually has something to do with UPnP that I have recently enabled so I dont think it has anything to do with my open VPN. Any how, can anybody suggest any tweaks for this tunnel to increase performance?

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            How are you testing this?
            If you test by downloading from a windows share, then this does in no way reflect the speed the tunnel is capable of.

            Are you using TCP or UDP as transport protocol?
            In general you will have better performance when using UDP.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

              @GruensFroeschli:

              How are you testing this?
              If you test by downloading from a windows share, then this does in no way reflect the speed the tunnel is capable of.

              Are you using TCP or UDP as transport protocol?
              In general you will have better performance when using UDP.

              Yeah that what I was thinking. Windows share shows about 600k/s and when I look at the WAN interface charts I do see it uploading at all 5Mb/s. I use UDP.

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