Skip to main content
Solved

Veeam Backup and Replication remote Linux Host via Overlay VPN


Hi,

I am kinda new to Veeam Backup. We do have some remote linux hosts without any internal connection to our local infrastructure.

Now, to not use the internet directly, I installed Netbird (just like Tailscale) and connected both, the Veeam Server and the Linux Host. That works, all good.

Now when I add the Host as Managed Server, the initial SSH Connection works and the Netbird IP is being used but then everything else is trying the WAN IPs which, of course, is not wanted and also blocked. So the Setup never finishes. Does anyone know what I could do here?

Thanks
Andreas

Best answer by andreas.mueller

So, I’m not sure why it didn’t work last time. Tried today and it just works with the netbird IP/Hostname. Might have been a routing issue last time, I do not know.

In the end, it just works with Netbird as long as you allow all needed ports in the Network Policies.

Cheers

12 comments

PeteSteven
Forum|alt.badge.img+5
  • Veeam Vanguard
  • May 7, 2025

For backup traffic you can/should use the Preferred Networks. I’m not sure if this is also works for deploying an agent.

Specifying Preferred Networks - User Guide for VMware vSphere 

 

Otherwise you must configure Managed Servers, that they use VPN connection for communication with VBR


  • Author
  • Not a newbie anymore
  • May 7, 2025

Hey Pete,

thanks for your explanation, much appreciated. The thing is, the Veeam Server already connects to hosts on the local networks. Now if I understand correctly, changing the preferred network would then render the other hosts unavailable, right?

Is there a possibilty to add a linux vm to our infrastructure as some kind of a man in the middle? I “know” that there is some kind of a proxy solution but like I said, pretty new to that whole topic.

Thanks
Andreas


Chris.Childerhose
Forum|alt.badge.img+23

Is the Linux server a repository or something else?  The initial post is not clear on that.  Not sure if the preferred network would work in this case as all components need to talk to each other.  Not sure if adding a static route or hosts entry would help.


  • Author
  • Not a newbie anymore
  • May 7, 2025

The linux host I am trying to setup would be a regular client e.g. agent that needs to be backed up, later on, that was the idea, it should als act as a repository as it has big drives attached we’d like to use as backup storage.

Main idea here anyway was to get the Veeam Server connect to the Linux Host via Netbird. The linux host would be our first one that sits at a Cloud Provider. All other hosts and repositories are sitting in the same private networks as the Veeam Server. Hope that makes sense. 


Chris.Childerhose
Forum|alt.badge.img+23

The linux host I am trying to setup would be a regular client e.g. agent that needs to be backed up, later on, that was the idea, it should als act as a repository as it has big drives attached we’d like to use as backup storage.

Main idea here anyway was to get the Veeam Server connect to the Linux Host via Netbird. The linux host would be our first one that sits at a Cloud Provider. All other hosts and repositories are sitting in the same private networks as the Veeam Server. Hope that makes sense. 

I think you are going to have to look in to Netbird and their support.  I am sure there is ways to set that up so it will always route properly.  For the Agent backup you could do it standalone (install on Linux) and set up the backup from there versus trying to manage it from VBR as a workaround.  Veeam uses the preferred networks as posted and is acting how it should so Netbird is the other avenue to pursue now to get it fully working.


coolsport00
Forum|alt.badge.img+23
  • Veeam Legend
  • May 7, 2025

​@andreas.mueller - hmm..not sure on this one. I’m curious as to the solution though. Maybe reach out to Netbird or Veeam Support for assistance. If you can, please provide the solution (if no one else has any ideas).

Best.


  • Author
  • Not a newbie anymore
  • Answer
  • August 7, 2025

So, I’m not sure why it didn’t work last time. Tried today and it just works with the netbird IP/Hostname. Might have been a routing issue last time, I do not know.

In the end, it just works with Netbird as long as you allow all needed ports in the Network Policies.

Cheers


coolsport00
Forum|alt.badge.img+23
  • Veeam Legend
  • August 7, 2025

Thanks for the update Andreas 👍🏻


Chris.Childerhose
Forum|alt.badge.img+23

Glad to hear you were able to get things working again.


  • Comes here often
  • September 24, 2026

​@andreas.mueller - Can you provide details on how you setup Netbird to facilitate the connections?

I have Netbird self-host installed on a VPS and Veeam B&R installed locally. I want to backup a different VPS host. I originally had only a couple of routing peers installed locally and had the Veeam B&R as a resource. Since Veeam was not able to install the Veaam agent on the VPS, I thought installing the Netbird client directly on the Veeam B&R server would help but it did not. From the Veeam B&R server, I can ping the Netbird hostname and Netbird IP of the VPS but it just won’t install the Veeam agent. I did create a Netbird policy to allow SSH on the VPS.

I’m out of ideas. Can you provide details on how you got it working?


  • Author
  • Not a newbie anymore
  • September 28, 2026

SSH is not enough, you wanna check their docs on all the ports veeam uses for data transfer.


  • Comes here often
  • September 28, 2026

SSH is not enough, you wanna check their docs on all the ports veeam uses for data transfer.

When I originally posted, I neglected to post that I did have all ports open. I also had Netbird SSH Access with root login enabled in the Netbird policy which was the root of all of my problems.

When this feature was enabled, the only successful SSH logins were from the Netbird dashboard. I could no longer login with PuTTY and Veeam logins were also failing. I tried all of the flags listed in the Netbird docs such as `--allow-server-ssh`  but nothing fixed the SSH login failures. I ended up disabling SSH Access in Netbird. That fixed the problem.

​@andreas.mueller - Do you have SSH Access enabled? To be clear, I’m not referring to port 22. I’m referring to Netbird SSH Access which seems to work like a reverse-proxy for SSH.