VPN between Proxmox hosts and VMs: some advices

decibel83

Renowned Member
Oct 15, 2008
210
1
83
Hi.

I have some Proxmox VMs which are not connected in a LAN, and I wish them to communicate together through a VPN made with OpenVPN.
I with to use the VPN to insert hosts in a cluster and let VMs to communicate each others not using the public network.
So I'm thinking about the future OpenVPN configuration, and the first question which I want to give an answer is: should I use a bridged device (tap) or a routed one (tun) in OpenVPN?

The second question is: should I use two different networks, one for Proxmox cluster and one for let VMs to communicate each others? (I think yes).

Please note that I prefer to have a unique network on all VMs independently from the Proxmox host, because I with to have the possibility to migrate VMs from one host to other without reconfiguring its networking. I know that tap devices are affected by broadcasting garbage, so I'm quite hesitant about this decision.

Could you help me, please?

Thank you very much!
Bye.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!