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

    Large scale NATing for ISP (50k subscribers and 2millions+ sessions)

    NAT
    5
    8
    2.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.
    • A
      azhar
      last edited by

      Hi expert,

      We have wireless ISP network, due to shortage IPv4 we are doing NAPT in Juniper
      Firewall. But this box failed to meet current demand.

      We want to try Pfsense NAT functionality to take some portion of NAPT.
      What it is recommendation for hardware, RAM and type of HD, table size to meet
      such big NAT (or PAT) purposes?

      TIA,
      Azhar

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

        2 million sessions would be ~4 million states. 1KB RAM per state, so >4GB RAM would do it (plus some for the OS of course…)

        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
          acald
          last edited by

          That is an amazing load.

          1 Reply Last reply Reply Quote 0
          • A
            azhar
            last edited by

            Thanks, admin.
            Is there any challenge  to take this BIG LOAD by pfsense?
            May I know any reference ISP or setup with such large NAPT?

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

              If you have enough RAM, set the state table high enough, have enough CPU power to handle the throughput, and a decent pool of IPs to NAT into, I don't see why not.

              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
                azhar
                last edited by

                Thanks for assurance.
                Can I keep log of NAPT sessions? What will be extra cost of load in CPU, RAM enabling log?
                Or Flowing will serve the purposes?

                1 Reply Last reply Reply Quote 0
                • D
                  dhatz
                  last edited by

                  While I'd love to see how pfsense would actually perform in such a demanding situation, it would seem to me that if you need to NAT 50k users using a single box (note: not advisable) using pf, you might want to also check pf-SMP which is part of (yet to be released) FreeBSD 10 …

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

                    i would think with that many sessions you would be looking into some high end equipment from cisco or someone….

                    vs open source and a self bought server..

                    or are you planning to use some proper "server" grade hardware

                    ¸,ø¤°`°¤ø,¸© Poor Planning On Your Part Does Not Constitute An Emergency On My Part ©¸,ø¤°`°¤ø,¸
                    ¸,ø¤°`°¤ø,¸© The trouble with life is there’s no background music ©¸,ø¤°`°¤ø,¸
                    ¸,ø¤°`°¤ø,¸© Life isnt short, you're just dead for too long©¸,ø¤°`°¤ø,¸

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