Is there some way to do this through the router?

I know if I set up a server I could use Active Directory to do it. But I’d rather not have to set up a server for that reason.