Tailscale Site to Site - Proxmox Cluster

csnoopy35

New Member
Dec 20, 2024
4
0
1
I am trying to make some discoveries on anyone that has been able to get site to site vpn clusters to work. I have been able to do ip forwarding and subnet routers set up. however, there is a change in the IP address's and of the clusters that prevents them from communicating after they beginning and set up the cluster. It works then stops talking to eachtoher
 
What I could figure out:
You configured a vpn base on Tailscale.
Initially the PVE cluster is working.
But if some IPs change, not anynmore.

Questions:
The Tailscale vpn is established by separate devices?
You mentioned subnet routers, so after the Tailscale vpn there is a router and then the PVE node?
If the Tailscale vpn has some renegotiation taking place, maybe due to new ip address assignment on public side, PVE cluster nodes can't communicate with each other anymore?

Aside of these question, please evaluate the documention reagarding network requirements in a Cluster: https://pve.proxmox.com/wiki/Cluster_Manager#_cluster_network
As long as you can't guarantee the stated conditions, it will not work reliably anyway and all troubleshooting is for nothing.
 
What I could figure out:
You configured a vpn base on Tailscale.
Initially the PVE cluster is working.
But if some IPs change, not anynmore.

Questions:
The Tailscale vpn is established by separate devices?
You mentioned subnet routers, so after the Tailscale vpn there is a router and then the PVE node?
If the Tailscale vpn has some renegotiation taking place, maybe due to new ip address assignment on public side, PVE cluster nodes can't communicate with each other anymore?

Aside of these question, please evaluate the documention reagarding network requirements in a Cluster: https://pve.proxmox.com/wiki/Cluster_Manager#_cluster_network
As long as you can't guarantee the stated conditions, it will not work reliably anyway and all troubleshooting is for nothing.
The Tailscale vpn is established by separate devices?
yes I have a proxmox host running an ubuntu LXC and I have done a lot of testing to make sure communications work before connecting the clusters. Currently for the sake of ease and set up. I have virtualized Proxmox host until this process becomes easy without having to reflash a new rPoxmox host everytime.

You mentioned subnet routers, so after the Tailscale vpn there is a router and then the PVE node?

These are virtualized routers. The ubuntu LXC acts as a router/gateway. I am able to point my "Virtualized proxmox host" to the ip addres on another subnet. via "IP route add 192.168.x.x/24 via 10.x.x.x" as an idea. This works for reuqests and sending the initial connection call.

However, I need to understand what is happening to the cluster during setup. After the initial set up stage is run, i can still access, we will name AHOST and BHost, Bhost when trying to join the cluster AHOST setup. However, it will not let me sign in. As though the ip resolves, but the ability for it to think for itself and varify me is no longer possible on BHost


If the Tailscale vpn has some renegotiation taking place, maybe due to new ip address assignment on public side, PVE cluster nodes can't communicate with each other anymore?

Not sure what you mean by renegotiating taking place.
 
You wrote the following
there is a change in the IP address's and of the clusters
I am just trying to understand what you mean. By creating a cluster no ip addresses are changed.

from your example I get the following understanding:
You create cluster on node A.
Node B joins the freshly created cluster.
You can reach the GUI of node B, but you can't login? Which realm did you select for login? Linux PAM must be selected and will still allow you to login with root.
 
Last edited:
I don't run Tailscale on my individual devices (NAS boxes, Proxmox boxes, etc.). I run it on my firewall/router (pfSense) device and then use the advertise routes feature to make sure my server VLAN goes out over Tailscale (and any other VLANs I want to be on the Tailscale network). Works much better that way, and if IP addresses change, so long as they are still in the same VLAN, everything still works.
 
I don't run Tailscale on my individual devices (NAS boxes, Proxmox boxes, etc.). I run it on my firewall/router (pfSense) device and then use the advertise routes feature to make sure my server VLAN goes out over Tailscale (and any other VLANs I want to be on the Tailscale network). Works much better that way, and if IP addresses change, so long as they are still in the same VLAN, everything still works.
This may be exactly the way I need to set it up. Do you have any articles, or things that help you learn more about these. Otherwise any specific kinds of categories that I could search along with what you shared would really help me.
 
Tail scale and VLANs specifically as well as a bunch of other stuff, mostly centered around network stuff, but not completely
 

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!