Just Getting Started

Hello,

I am just getting started with ZeroTier and testing it out for a client. I am hoping I can get a little guidance on how I would want to set my rules.

This is my scenario… I have a network that has multiple users and servers. I want to grant admin users access to all servers, but no users on this network. I want to grant specific users access to specific servers only.

I have been reading through the ruleset docs, but am a bit confused on how to best achieve this. If anyone can help out, it would be greatly appreciated.

Thanks!

Welcome to the ZeroTier community!

Think about the smallest possible building blocks, subsets of your full requirements, in order to gain operational skill with ZeroTier rules. This is a more than a basic feature set, hopefully other forum members can link to additional experience.

Please be advised, there is a subtle bug fix in 1.14.0 that makes inter-version operability sporadic at best when non-default rules are in effect.

Some examples to work through to gain familiarity,

A mention of an important concept to keep in mind, stateless filtering:

A blog post about services,

And for completeness,

As you find additional helpful resources, leave a mention here to gather them all in once place. Thank you for considering ZeroTier.

1 Like

Thank you very much for that information @aaron.johnson . That blog post really helped me out.

I am sure there are better ways to get my rules written… but they seem to be working for me right now. Will continue to do further testing next week.

Cheers!

Instead of using rules, create a ZeroTier network for each use case. eg:

  • Admin Network
  • User Network
  • MyServer Network

And if your deployment gets too big, then figure out how to use the ZeroTier SSO feature.

Thanks @dajhorn This is my plan, but on “My Server” network, I don’t necessarily want everyone to have access to all the servers… I think I am getting things sorted with rules using tag and cap.

To build upon the comment by @dajhorn which is a key aspect to highlight.

In a data center, the common term for best practice is an out-of-band ( OOB ) network. For example, the serial console interface for network equipment would be reachable on a entirely separate network path. An analogy in ZT would be a separate network for admin access. This prepares for the scenario when an in-band network does not work properly for any reason.

More fine grained RBAC is on the ZT roadmap, but until then to clearly delineate the permissions of admins within a company, and the permissions of a companies customers we recommend using two ZT accounts. Also, plus addresses and email aliases are useful in this case.

1 Like

Good call… perhaps I need to rethink my implementation a bit… once I switch to a paid account (which is looking very likely), then I won’t have the same restriction on the number of networks as I now do. That will certainly open more possibilities. Thank you very much to you and @dajhorn for the insight :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.