Access policies
An access policy decides which client addresses may reach a host. It is evaluated on
the socket address the gateway sees, so a client cannot change its identity with
X-Forwarded-For unless you explicitly trust a proxy in front of the node.
Create one under Access → New policy and assign it to a host on the host's Access and TLS section. A host can also inherit the deployment default or use no policy at all.
Default action and rules
- Default action —
DENY(only explicitALLOWrules admit) orALLOW(only explicitDENYrules block). - Rules — one row per action and CIDR:
ALLOW 198.51.100.0/24orDENY 203.0.113.0/24. An optional description documents the row.
An explicit DENY wins over any ALLOW, regardless of prefix specificity or row order. That precedence is deliberate: a narrow allow cannot punch a hole through a wider deny, and reordering rows never changes the outcome.
IPv4 and IPv6 are first-class. Host bits are cleared on save, so 198.51.100.7/24 is
stored as 198.51.100.0/24. A row with an empty CIDR is ignored.
Editing rules as text
The editor exposes a Rules as text box with the format:
ALLOW 198.51.100.0/24 Office range
DENY 203.0.113.0/24 Blocked range
Pasting and confirming validates the whole text before it replaces the rows. An invalid line keeps the pasted text and leaves the current rows intact.
Effect on hosts
The policy editor lists the hosts that use it. A saved edit changes their effective access after the next Apply; nothing changes on the wire when you save the policy.
Requests that a policy denies receive 403 with the host's error page and a reference.
Security Events records the event as ACL_DENY with the winning rule
(deny:<CIDR> or default-deny), which tells you exactly which line decided the
request.
Deleting a policy
A policy that hosts still use cannot be deleted. Re-point the hosts first, then delete the policy in the same or a later revision.