ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    pfSense slow site-to-site VPN

    Scheduled Pinned Locked Moved IT Discussion
    freebsdpfpfsenseopenvpnvpnsslssl vpnnetworking
    19 Posts 7 Posters 9.7k 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.
    • IT-ADMINI
      IT-ADMIN
      last edited by

      before continue reading your issue, i want to tell you that pfsense will not play well in virtual environment, in their official website too many people complaining about slow connection when installing pfsense in virtual environment,

      J 1 Reply Last reply Reply Quote 1
      • IT-ADMINI
        IT-ADMIN
        last edited by

        i think it is a good idea to install the pfsense in SITE B in a physical machine

        DanpD thwrT 2 Replies Last reply Reply Quote 1
        • DanpD
          Danp @IT-ADMIN
          last edited by

          @IT-ADMIN said in pfSense slow site-to-site VPN:

          i think it is a good idea to install the pfsense in SITE B in a physical machine

          Even if done temporarily, it would allow you to take the HV out of the equation.

          1 Reply Last reply Reply Quote 1
          • travisdh1T
            travisdh1
            last edited by

            I'd try running the VPN on something other than the router. Try spinning up OpenVPN on a separate virtual machine and test it with that once.

            You'd probably be better off using VyOS to do routing. Pfsense really does seem like a kludge after getting to know VyOS.

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller
              last edited by

              Two questions about the CPU load... is that total or is that for a single core? What is the load and load factor on that unit? It is very possible that the one core that OpenVPN can use for the SSL encoding is hitting 100% and there is no way to push it faster.

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller @travisdh1
                last edited by

                @travisdh1 said in pfSense slow site-to-site VPN:

                You'd probably be better off using VyOS to do routing. Pfsense really does seem like a kludge after getting to know VyOS.

                NTG Lab has a massive quad core Xeon, 12GB RAM, VyOS router heading to the LA Colocation America facility right now 🙂

                1 Reply Last reply Reply Quote 1
                • thwrT
                  thwr @IT-ADMIN
                  last edited by

                  Thanks everyone for all your suggestions, really appreciate that. Getting back a little late here, totally forgot that my wife planned a small trip for today 🙂

                  @IT-ADMIN: Thanks, already on my todo-list. Just had no machine at hand. I know about issues with pfSense running virtual, but as I said, performance is great when plain traffic gets routed over virtual and / or physical NICs. But you are right, should take virtualization out of the equation.

                  @Danp: Agree.

                  @travisdh1: Interessting, didn't thought about running OpenVPN standalone outside of pfSense. pfSense is known to be a bit... picky when it comes to OpenVPN. BTW: Im not a big fan of Vyatta. pfSense is running on my sites for nearly 10 years now. Would rather like to solve the problem 🙂

                  @scottalanmiller: Single core load measured over 5 mins outside of business hours.

                  Will test with a physical pfSense on some Intel NUC maybe. If that does not work, I could still do some tests with a standalone OpenVPN on some Linux host. Will report back later.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    okay, single core that's not too bad. I'd still check the load numbers (uptime will give you this quickly) and see if there is some wait state catching you.

                    thwrT 1 Reply Last reply Reply Quote 2
                    • thwrT
                      thwr @scottalanmiller
                      last edited by

                      @scottalanmiller good point, thanks

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jason Banned @IT-ADMIN
                        last edited by

                        @IT-ADMIN said in pfSense slow site-to-site VPN:

                        before continue reading your issue, i want to tell you that pfsense will not play well in virtual environment, in their official website too many people complaining about slow connection when installing pfsense in virtual environment,

                        That used to be the case, newest versions are fine.

                        scottalanmillerS 1 Reply Last reply Reply Quote 1
                        • J
                          Jason Banned
                          last edited by

                          Why Open VPN for site to Site over IPSEC? OpenVPN is normally much slower..

                          OpenVPN was more made for easy configuration.

                          thwrT scottalanmillerS 2 Replies Last reply Reply Quote 1
                          • J
                            Jason Banned
                            last edited by

                            Also have you considered TINC full mesh on Pfsense, I have used it in the past when I worked at smaller companies.

                            thwrT 1 Reply Last reply Reply Quote 0
                            • thwrT
                              thwr @Jason
                              last edited by

                              @Jason said in pfSense slow site-to-site VPN:

                              OpenVPN is normally much slower..

                              No preference for OpenVPN, tried both, IPsec being just 1MB/s faster. Oddly, latency is still great while throughput is low. Both lines are sync 1GB/s, just some fiber and roughly 4 km / 2.5 miles in between. Next to no reflections on the fibre.

                              Async lines are a known problem especially in OpenVPN, but that shouldn't be the case 😉

                              1 Reply Last reply Reply Quote 0
                              • thwrT
                                thwr @Jason
                                last edited by

                                @Jason Not yet. Problem is, there's some confidential data going over that wire. Sure, already encrypted on OSI-7, but I don't feel comfortable using a solution in this context I don't know. Would rather like to stick to IPsec (preferred) or OpenVPN.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Jason
                                  last edited by

                                  @Jason said in pfSense slow site-to-site VPN:

                                  @IT-ADMIN said in pfSense slow site-to-site VPN:

                                  before continue reading your issue, i want to tell you that pfsense will not play well in virtual environment, in their official website too many people complaining about slow connection when installing pfsense in virtual environment,

                                  That used to be the case, newest versions are fine.

                                  Does it have built in PV drivers for most platforms? Which ones does it support well?

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Jason
                                    last edited by

                                    @Jason said in pfSense slow site-to-site VPN:

                                    Why Open VPN for site to Site over IPSEC? OpenVPN is normally much slower..

                                    Specifically in CPU usage.

                                    1 Reply Last reply Reply Quote 1
                                    • M
                                      marcinozga
                                      last edited by

                                      Try this: https://forum.pfsense.org/index.php?topic=47567.0

                                      What's your protocol set to? TCP or UDP?

                                      thwrT 1 Reply Last reply Reply Quote 2
                                      • thwrT
                                        thwr @marcinozga
                                        last edited by thwr

                                        @marcinozga Thanks, but already tried net.inet.ip.fastforwarding in all combinations with TCP and UDP.

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