How connect my PVE to PBS (in differents places)

esilva

New Member
Oct 25, 2023
19
0
1
Hello guys, i need to connect a PBS to a PVE, because i want to make the Backup. The servers are in different locations. What is the best way to do this? Through VPNs? Do I need to open ports on my router? I'm a beginner in networks and servers. I have a lot of doubts
 
Hey,
VPN's and port forwarding are both valid options.
Opening a port usually only benefits you, if you have a static IP or a dyn dns setup for the backup location.
Without that, I would go with a vpn.
There are a myriad of possibilities and if you ask 4 people, you will get 5 opinions.
If you want something easy to set up, you could take a look at Tailscale, they even have instructions on how to use them with proxmox [0].
Most of the selfhosted vpn's still need a lighthouse or something similar to be publicly accessible, which would mean that you have to rent
a vps. But if you want to go that route, I had very good experiences with nebula [1]

[0] https://tailscale.com/kb/1133/proxmox/#enable-https-access-to-the-proxmox-web-ui
[1] https://github.com/slackhq/nebula
 
  • Like
Reactions: esilva
Hey,
VPN's and port forwarding are both valid options.
Opening a port usually only benefits you, if you have a static IP or a dyn dns setup for the backup location.
Without that, I would go with a vpn.
There are a myriad of possibilities and if you ask 4 people, you will get 5 opinions.
If you want something easy to set up, you could take a look at Tailscale, they even have instructions on how to use them with proxmox [0].
Most of the selfhosted vpn's still need a lighthouse or something similar to be publicly accessible, which would mean that you have to rent
a vps. But if you want to go that route, I had very good experiences with nebula [1]

[0] https://tailscale.com/kb/1133/proxmox/#enable-https-access-to-the-proxmox-web-ui
[1] https://github.com/slackhq/nebula

Thanks! I will take a look.

I forgot to mention, where the PVE is there is a pfSense configured with OpenVPN. There is an option to export a client using an external address (ex: mycompany.ddns.net)
If I export the .ovpn file can I connect them?
 

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!