Navigation

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

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

    2.4 Development Snapshots
    2
    3
    7690
    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.
    • jimp
      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

      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
        • jimp
          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.

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

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy