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

    OpenVPN fast-io and sndbuf/rcvbuf options in the GUI

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    3 Posts 2 Posters 11.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      I went ahead and added fast-io and buffer options to the OpenVPN server and client GUI for 2.4 since we have seen several reports that they significantly help speeds, especially on SG-1000. They will both be in snapshots built after the time of this post, so most likely late today / early tomorrow.

      The options default to off, so if you have the options in advanced settings already then you are still safe to upgrade. Remove them from the custom options box and then set them in the GUI instead.

      fast-io will only work on UDP connections (client or server) and for clients it also cannot work if you have "Limit outgoing bandwidth" set. It also does not work on Windows, so don't expect it to help out there. The server side can have it enabled, but we do not offer a push option for it, and it won't be in the export package.

      The Send/Receive buffer setting isn't quite so clear. Reports on the forum and elsewhere usually show a value of 512KiB. This may be a good starting point, but you might also want to try higher or lower values in case they perform better for a specific site.

      Where possible, you probably will want to set both ends of a connection to have similar settings for fast-io and buffer sizes.

      Ticket is here: https://redmine.pfsense.org/issues/7507

      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
      • A
        athurdent
        last edited by

        Thanks!

        At the moment I am happy with:

        sndbuf 393216;
        rcvbuf 393216;
        push "sndbuf 393216";
        push "rcvbuf 393216";
        

        With your modifications, do we also have the option to push (last two lines) those settings to the client?

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

          Not at this time, you could still keep the push lines if you want.

          Since the optimal buffer size could vary based on operating system and remote client location/circuit type/latency/etc I don't see pushing the same value to all clients as something we'd want to encourage.

          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.