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

Open VPN multi core solution ?

Scheduled Pinned Locked Moved OpenVPN
3 Posts 2 Posters 3.0k 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.
  • M
    mrrepel
    last edited by Sep 14, 2017, 3:13 PM

    Hi all,

    I've been using a APU2C4 board for a while in combination with VyprVPN. It works, but the speed is about 42megabit/s. The bottleneck is the CPU core that is used by openVPN.

    After some searching i found this article https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_o_openvpn_performance. It makes me think, would it be possible to assign the APU as follows:
    ETH0 - LAN
    ETH1 - WAN VPN1
    ETH2 - WAN VPN2

    I can connect both ETH1 and ETH2 to my modem.

    In this way it would be possible to double the VPN speed (?) since it does no multithreading and each WAN connection has it's own thread on a core (The APU has 4 cores) I only need to use a load balancer to use both connections.

    So far the theory… I haven't got enough experience to make this work. I've added a second OpenVPN client, but i cannot "bind" it to a interface. Any thoughts about this and if it could work ?

    Greetz

    Mrrepel

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 17, 2017, 10:27 PM

      It is possible to do something like that. It will only make any difference if you have multiple connections running over the VPN, a single file download will not benefit.

      There is no need to connect multiple interfaces to the modem. You just need two (or more) OpenVPN clients running. Assign those clients as interfaces and enable them so you get gateways for them. Then setup a load balancing group for them as you would for multiple WAN connections.

      Whatever your remote OpenVPN server is has to allow multiple connections of course. If that's a paid service they may not.

      Steve

      1 Reply Last reply Reply Quote 0
      • M
        mrrepel
        last edited by Oct 4, 2017, 4:24 PM

        Thank for the reply. In short, it won't work for me  ;D

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received