VPN/Wireguard toggle on per-container/per-VM


Recommended Posts

I would like the ability to toggle on a VPN for a given container or VM. Bonus points for:

 

  • Optional kill-switch if VPN drops
  • Ability to have multiple containers/vms share the same connection (so 1 client instead of 1 per container/vm)
  • Ability to toggle on the VPN for ALL containers and/or ALL VMs

 

I imagine this would require some VPN/WG config section where you enter in the config for your VPN and name it and then a drop down in the container/vm edit page that lets you choose "No VPN" ,"MY custom VPN 1", etc with a checkbox next to it to kill the internet if the VPN goes down. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.