Product

Product Features How to Compare Docs Screenshots Why

Start here

Getting started Download Guides Frequently asked questions

More

Security Support Roadmap About

Access control

6 answers

Who may reach a site, by address and by password.

Looking for something specific

The searchable index covers all 326 answers at once and filters as you type.

228 Put an admin area behind my office network
  1. Zones & Access, Access lists, add one.
  2. Put your office ranges under Allowed, one per line.
  3. Set When nothing matches to deny.
  4. Tick Include the management networks so you do not lock yourself out.
  5. Choose the list on the /admin path rather than on the whole site.
access listadminofficerestrictACL
229 Block one specific address

Make an access list with When nothing matches set to allow, and put the address under Blocked. That is a public area with exceptions, which is the opposite shape to a private area.

block ipbandenynuisance
230 Add a username and password in front of a site

Turn on Ask for a username and password on the access list, or the equivalent switch on the site. Reasonable as a second layer on top of an address check. Thin on its own: it is one shared secret, it is often written down, and it never gets rotated.

basic authpasswordhtpasswdprotect
231 I locked myself out of my own admin area

Almost always one of three things.

  • Your real address is IPv6 and the list only names IPv4. Put both forms in.
  • Your office address changed.
  • You did not tick Include the management networks.

Fix it from a node with a shell, or from an address that is on the list, then apply.

locked outipv6cannot reachACL
232 Trust the client address from a header

Only when something trustworthy sits in front of your load balancers, such as a CDN, and you have named it as trusted. If you turn it on with nothing trustworthy in front, anybody can set that header themselves and walk straight through your access list.

There is no partial version of this. Either the header is trustworthy or your list is decoration.

X-Forwarded-Forreal ipCDNtrustspoof
233 Set the management networks for the whole fleet

Settings, Management networks. One CIDR per line. Anything that ticks Include the management networks picks them up, along with every cluster node from the roster.

This is not the same as the list that controls who can reach the GUI. That one lives in the environment file on each node, because it has to be in force before the login page renders.

management networkssettingsCIDRfleet

Two fresh servers is all it takes

Ubuntu 22.04 or newer, root access, and about twenty minutes. The installer does the rest and it is safe to run twice.