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

    Maximum number of VPN connections

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 5.4k 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.
    • V
      vladutc83
      last edited by

      I have a small questions.
      Can pfSense support a great number of VPN connections? Either PPTP or IPSec, really don't care.

      I am talking about more than 10.000 (somewhere around 20.000 would be nice :) ) simultaneous connections. And if so, what would be the necessary hardware?

      Thanks in advance

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

        I dont see why not.
        With such a big amount of connections RAM might be something to look into.
        You will have to increase the default statetable size of 10'000 to something bigger.
        Estimated you need 1kb of RAM for each connection.
        With 2GB of RAM you can safely set the table to 1'000'000 ~ 1'500'000

        CPU wise the number of connections has a smaller impact than how much bandwidth you want to push.
        What are you expecting?

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.