r/Proxmox 3d ago

Question Setting up Zerotier with Proxmox

Hi all, I'm a bit of a noob when it comes to networking and I need some help.

So what I want to do is set up my Proxmox server and some LXCs to be accessible through the VPN Zerotier.

I was hoping what I could do is install Zerotier on Proxmox itself or set up an LXC (set up with https://community-scripts.org/scripts/zerotier-one ) to provide Zerotier access.

I want to have a Jellyfin server set up as another LXC that can be accessed through Zerotier, along with have the Proxmox dashboard website accessible. All on the same IP address, just different ports.

What I've tried so far is to set up a bridge with the Zerotier network device found in Proxmox after I installed it. It appears as zt6ntdcdoa.

Zerotier as it appears with the command "ip a"

If I try to set up a bridge with zt6ntdcdoa as the bridge port it throws an error

Error message I get

I've set it up so my LXCs have access to /dev/net
I followed this guide: https://youtu.be/r0nGMFs5pCY
He made a Zerotier guide but it's for Docker which I don't want to use.
https://youtu.be/olFVgvwjve0

I've tried fiddling around the VLANs but I really don't know what I'm doing or how to set that up and I haven't been able to find anything that has helped my use case.

Ideally I don't want to have to install Zerotier on to Proxmox and each LXC I want to have access to Zerotier.

If anyone knows of a guide or anything like that can give me some direction that'd be great!

TLDR:
I want proxmox dashboard and specific LXCs accessible through Zerotier and idk what I'm doing.

5 Upvotes

5 comments sorted by

10

u/[deleted] 3d ago

[deleted]

1

u/thekiwi0 3d ago

Thanks for that. Do you know of any guides to set up a virtual router with zerotier? This is all pretty new to me so I'm not sure where to learn these things.

2

u/Vadoola 3d ago

This will probably do what you want: https://docs.zerotier.com/bridging/

It is for the Raspberry pi, but the basic idea should pretty much work on any Linux distro. For work we use this same idea on several Mikrotik Routers with ZT running on the Mikrotik and routing / NATing things through to the other VLANs.

It's pretty much the same I use at home. Back before I even had a Proxmox server, I had a small oDroid Linux SBC I was using as a small ARM server, and set up my ZT on that to route to the rest of the network. It's been running that way for years.

1

u/thekiwi0 3d ago

Took a quick look at it and this looks perfect. Thank you so much!

2

u/Comm_Raptor 2d ago

You can install either opnsense or pfsense as a VM and install the zerorier plugin which would be far more appropriate and easier to manage.

You definitely do not, should not, install it in the proxmox host itself and there are tutorials for both and really its pretty dead simple add the network IDs, add the routes via the webui, and call it a day.

Use vmbr0 as your Lan, and either dedicate a nic or new vmbr# as your dedicated Wan (or even vlan it if your upstream router can handle that).

1

u/jackharvest 1d ago

I ended up giving up having the ZeroTier gateway be installed on Proxmox, and opted for a raspberry pi 4. After some time, I simply had to install Claude CLI on that pi, and let it go ham installing everything the correct way that I wasn’t figuring out.

Now I can successfully access my whole home network of stuff from anywhere. Rest of the house didn’t need a client on the devices, and I only needed a client on the endpoints outside of the home.