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



  • 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.


  • Rebel Alliance Developer Netgate

    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.


  • Rebel Alliance Global Moderator

    "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!



  • 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/


  • Rebel Alliance Global Moderator

    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!!



  • @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.


  • Rebel Alliance Global Moderator

    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.