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

    With all the changes in 2.0: what's the highest performance routable tunnel?

    2.0-RC Snapshot Feedback and Problems - RETIRED
    4
    7
    2.2k
    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.
    • rcfaR
      rcfa
      last edited by

      Two questions:

      1. What's the highest performance tunnel between two sites that's transparent to all network traffic and fully routable?

      2. What's the highest performance tunnel between two sites that's transparent to all network traffic and fully routable AND capable of encryption?

      I guess the routable part excludes plain IPSec.

      There must be a half dozen ways of creating a network tunnel by now, but frankly I'm perplexed how to choose one over the other…

      Note: both sides of the tunnel will have a pfSense box, so as long as they are compatible with each other (which they should be), vendor compatibility shouldn't be an issue. Only difference: one of the boxes might end up running the nanoBSD version.

      If there is anything I overlooked in the questions above, e.g. a certain type of tunnel might be more performant, but is more likely to be spoofed or attacked in some way, then that would of course also be a consideration.
      Privacy is not a major concern, interference robustness however is something to consider, because with all the debate about net neutrality I have no intention of having my traffic "managed" by intermediate ISPs.

      1 Reply Last reply Reply Quote 0
      • C
        clarknova
        last edited by

        openvpn seems to be the preferred/recommended choice around here these days.

        In terms of encrypted throughput, you'll probably want to look at hardware crypto acceleration. soekris sells the hifn hardware, but I'm curious what support for the newer Intel CPU crypto hardware exists in pfsense.

        db

        1 Reply Last reply Reply Quote 0
        • rcfaR
          rcfa
          last edited by

          OpenVPN requires encryption, correct? Or is there the possibility of using a "NULL" encryption algorithm, or a simple XOR with a shared secret?

          I'm not concerned with encryption, since all I'm doing is bypassing an ISP who's unwilling to provide routing to my class-C network, so the entry point has to be with a colocation provider who is willing to do so.
          All (in the worst case) I need to do is prevent the ISP from interfering with the process.

          The HiFn card is not an option. I use one of these neat boxes http://www.lannerinc.com/PV/FW-7535 and so unless they come out with a card that is in miniPCIe format, it's out of the question.
          But since I'll have 20mbit/s max. and have a dual-core 1.6GHz D510 64-bit Atom CPU, I hope that should be sufficient.

          1 Reply Last reply Reply Quote 0
          • P
            phospher
            last edited by

            Yes, you should be able to disable encryption in openvpn tunnels.

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

              2.0 does support the null cipher for OpenVPN so that might be possible for your use.

              That siad, if you don't want encryption, on 2.0 you can also use another tunnel type such as GIF or GRE that may have even less overhead than OpenVPN.

              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
              • rcfaR
                rcfa
                last edited by

                @jimp:

                2.0 does support the null cipher for OpenVPN so that might be possible for your use.

                That siad, if you don't want encryption, on 2.0 you can also use another tunnel type such as GIF or GRE that may have even less overhead than OpenVPN.

                Thanks.

                Now what's the practical difference between GIF and GRE tunnels? Or, for that matter, is there any readable source that answers that type of networking questions? All I can find are network programing books, or RFCs, but no decent overview that compares different approaches, capabilities, overhead, pros and cons, etc.

                The world really could use a book that looks at all these things and compares them in a systematic way, because there's sure a ton of different ways to achieve the same thing, but very little in terms of things that help decide what to use for a given scenario, because abstractly speaking, they all seem to do more or less the same thing.

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

                  I'm not sure offhand of a comparison site, but the FreeBSD man pages have info on both.

                  http://www.freebsd.org/cgi/man.cgi?query=gif&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html

                  http://www.freebsd.org/cgi/man.cgi?query=gre&sektion=4&apropos=0&manpath=FreeBSD+8.1-RELEASE

                  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.