balena-io / open-balena

Open source software to manage connected IoT devices at scale
https://balena.io/open
GNU Affero General Public License v3.0
1.07k stars 166 forks source link

Use multiple VPN instances #57

Closed imrehg closed 4 months ago

imrehg commented 5 years ago

User would like to use multiple VPN instances with OpenBalena to help connect many devices.

balena-ci commented 5 years ago

[imrehg] This issue has attached support thread https://jel.ly.fish/#/support-thread~1c271b4a-26e8-4237-9348-cc389c018e10

dfunckt commented 5 years ago

@wrboyce you recently added the ability to run VPN on many network interfaces, is that correct? Is there a way to expose this functionality to users?

ab77 commented 4 months ago

A single balena/open-balena-vpn container will spawn multiple OpenVPN processes when PRODUCTION_MODE=true up to a maximum of nproc. The service can also now be configured for UDP listeners, though HAProxy would need to be bypassed (probably) and at the expense of having a single listener/process only