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

    Is it possible to use openvpn to do channel bonding over 2 wans

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 4 Posters 2.9k 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.
    • I
      ivarh
      last edited by

      Hi all.

      I got 2 100/40Mbit connections to the internet. I am using a sg-2440 box running pfsense 2.4 RC. I have also rented a virtual debian vm close by my location.

      My intention is to set up a multilink vpn so that I can turn my 2 100/40 connections into a 200/80 connection.

      Is this possible using openvpn and if so does anyone have a guide to how to set this up?

      Regards,
      Ivar H.

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

        Actual bonding is not properly possible, but there have been some hackish attempts made. I haven't seen anyone try it in several versions, but at one time someone claimed to have done it by setting up a LAGG interface on both ends with 2 interfaces. It didn't detect failure though.

        You can properly achieve connection-based load balancing the same way Multi-WAN works. Not much to that except for making sure the interfaces are assigned (on both ends) and then you setup gateway groups like any other multi-wan setup.

        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
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          "You can properly achieve connection-based load balancing the same way Multi-WAN works."

          That is not what he is asking for - we had a huge thread about this.. He thinks he can do
          "turn my 2 100/40 connections into a 200/80 connection. "

          Went over it and over it with him - it doesn't work that way I told him.. But maybe he will listen to you!

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • M
            Marv21
            last edited by

            Hmm, that sound interresting.
            Pfsense need to split the traffic packets (not states only) between the tunnels and the vserver(or root) need to bond them together and connect it with the internet.
            I read Zerosshell could do it.

            Or something like this :
            https://zehome.github.io/MLVPN/

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              That is apples and oranges.  And for that to work you have to have aggregate server out on the internet that you create your vpn too.. That has to have FAST internet..

              So now you have to have this server that has gig internet, so you can try and speed up your 2 dsl speed connections… Useless..

              Just get a faster link if you need a faster link.. Trying to gig the system doesn't get you anywhere 1 + 1 does not = 2 in networking.. It just doesn't!!

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • M
                Marv21
                last edited by

                @ivarh:

                Hi all.

                … I have also rented a virtual debian vm close by my location. ...

                So he has this server. Most of the roots/ vServer are with one gig.

                I for myself have such a root too and would like it to see nativ support for MLVPN :)

                I imagine that you can download the package, create VPNs as most as you need and get an Interface out of this. Then you can add Rules to redirect trafic through it.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  You are correct he mentioned that… I must of been thinking of another thread.. Thee was another thread asking about using using multiple vpn connections.  Much longer than this one though..

                  I was thinking of this one.
                  https://forum.pfsense.org/index.php?topic=135283.0

                  Different poster.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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