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

    IPsec tunnel - Large BDP Link, Congestion Algo. & Window Sizes?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 681 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.
    • E
      eroper
      last edited by

      I have an IPsec tunnel set up with a reasonably high rtt (~200ms). I'm experiencing terrible throughput whenever the link isn't (for practical purposes) 100% loss free. This clearly isn't unique to pfSense or IPsec as any high latency, high bandwidth link is subject to the same pain points.

      It did get me thinking about the following question however:

      Given: [Host-A] <-> [pfSense-A(ipSec)] <–--> [pfSense-B(ipSec)] <-> [Host-B]

      In the absence of the ipSec tunnel I would tune the TCP window size (receive buffers) and possibly the TCP congestion algorithm used on Host-A, Host-B.

      With an ipSec tunnel, do the tunnel endpoints need the tuning? The hosts on either side? Or Both?

      If the IPsec gateways would be tuned, which TCP Congestion Algorithm is pfSense using by default and does it support any alternatives?

      Thanks,
      Ed

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Yeah the hosts need the tunning since they generate the traffic IPsec cannot do much here.

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