Configuring node allowlisting in Hyperledger Besu for a permissioned network
Node allowlisting uses local permissioning to restrict peer connections to a list of known enodes, so a Besu node accepts connections only from participants the operator has approved. Teams need this when a consortium or regulated operator runs a private network and must guarantee that only known nodes can peer with its nodes. Node permissioning is one of two local controls Besu offers. It sits alongside account permissioning, which governs which accounts may transact and what they may do. Neither control replaces network segmentation, firewall rules or transport security, because an allowlist only decides which remote endpoints a node will talk to. It does not isolate the network, encrypt traffic or protect the node's own host. Read the Besu docs on local permissioning before you decide how the controls fit together.
Before you write the allowlist, confirm two behaviors that often surprise teams. First, the nodes allowlist must include the bootnodes. If it does not, Besu does not start with node permissioning enabled, so the bootnode list is a prerequisite rather than an optional addition. Second, the check is one-directional: local permissioning verifies only that the remote end of a connection appears in the allowlist, not that the local node is listed. A node therefore cannot confirm from its own configuration that other participants will accept it. Each member has to verify that its enode is listed by every peer it needs to reach, and this check belongs in the consortium change process. Ask your Besu contact to confirm how the current release handles these rules, since behavior should be validated against the version you run.
Plan the allowlist as shared operational data rather than a file each operator edits alone. Every entry is an enode URL, so the list changes whenever a member adds, replaces or removes a node. Decide who approves changes, how the new list reaches each operator, and how you confirm that peering still works after the update. Runtime changes can be made through the PERM API, but they must be recorded in the same source of truth as the configuration file so that a restart does not silently revert a change. Test the full procedure on a non-production network first, and include a rollback step that restores the previous list if a member cannot peer after an update.
How to set up the nodes allowlist file step by step
This sequence takes a permissioned Besu network from a list of known participants to a node that only peers with members it has approved. Each step ends with a check, so a failed peer connection is caught before the node serves traffic.
Collect every participant's enode URL
The network operator gathers the enode URL of every node that should be allowed to connect, along with the bootnodes named in the shared genesis and network configuration. Each organization supplies its own enode from its node key, and the list is confirmed in writing by all members before anyone edits a file. Done means every entry is recorded with its owner, and the bootnode entries are marked separately so they cannot be left out later. Confirm how enode URLs are derived from node keys in the Besu node keys documentation before collecting them.
Write the nodes allowlist in the permissions file
The operator creates the permissions configuration file for the node and adds a nodes allowlist section listing the enode URLs from the previous step. The file should include every bootnode, because Besu does not start with node permissioning enabled if a bootnode is missing from the list. Check the file for typos in each enode URL, including the host, port and public key, since a single wrong character silently excludes that peer. Done means the file parses and contains every bootnode. Confirm the exact file format and key names against the Besu release you run.
Check the bootnodes appear in the list
Before pointing the node at the file, the operator compares the bootnode entries in the allowlist with the bootnode list in the network configuration, one by one. This is a manual review step, and it prevents the most common startup failure, where the node is configured for node permissioning but cannot reach its bootnodes. Done means the two lists match exactly, and the reviewer has signed off on the change. Keep the bootnode check as a standing item in any future allowlist change.
Point the node at the permissions file
The operator passes the path to the permissions configuration file to the node using the permissions option described in the Besu documentation, and enables node permissioning in the same configuration. The file path, file permissions and ownership should be set so the node process can read the file but other users on the host cannot change it. Done means the node's startup configuration references the file, and the file is stored in the same change-controlled repository as the rest of the node configuration. Confirm the exact option names for node permissioning against the release you run, because option names have changed across Besu versions.
Start the node and read the startup log
The operator starts the node with the updated configuration and watches the startup log for errors related to permissioning, the permissions file or bootnode connections. A node that starts cleanly with node permissioning enabled has passed the bootnode requirement, but this does not yet prove that peers are connecting. Done means the node runs without permissioning errors and the log shows it is listening on its P2P port. Keep a copy of the log so the first run can be compared with later changes.
Confirm peering with approved nodes
The operator checks the peer count and the identity of connected peers using the node's peer-related JSON-RPC methods or monitoring, and compares them with the allowlist. Connections should only come from listed enodes, and each expected member node should appear once it is online. Done means the expected peers are connected and no unexpected peer is present. If a listed node cannot connect, check the enode URL, host and port, and any network path such as firewalls between the two sites. Record the peer list as the baseline for later comparisons.
Test that an unlisted node is refused
The operator runs a controlled test from a host that is not on the allowlist, or from a test node with a key not in the file, and confirms the connection is refused. This is the only step that shows the allowlist is enforced rather than just loaded, and it should be done in a non-production environment if one exists. Done means the test attempt is rejected and the rejection appears in the node's logs. Remember that local permissioning checks only that the remote end of a connection is listed, so the test should be run from the remote side, not from the node being configured.
Allowlist configuration options and when each fits
This table compares the main allowlist choices for a Besu node: how peers are identified, whether one file is shared across members, and whether changes apply at restart or at runtime. Read each row for the condition that favors that option and the trade-off you accept by choosing it.
| Decision | Option | When it fits | Main trade-off |
|---|---|---|---|
| Peer identity | Static enode URLs with fixed IP addresses | Nodes run on hosts with stable addresses that you control and rarely move | Any IP change breaks the match until the file is updated and the node restarts or is refreshed |
| Peer identity | Hostnames in enode URLs | Nodes sit behind DNS names that stay constant while addresses change | Resolution depends on your DNS being correct and reachable at startup, so DNS failures become peering failures |
| Peer identity | IP-based entries behind load balancers or NAT | Peers reach you through shared egress or ingress addresses | Several members may share one address, so the list can admit more traffic than you intended |
| File distribution | One shared allowlist file for all members | The consortium agrees on one membership list and one change process | Every member must receive and apply each change, and a missed copy leaves members with different views |
| File distribution | Per-node allowlist files | Each operator needs local control over what its node accepts | Lists drift apart over time, and you need a process to confirm they match |
| Change timing | File-only changes applied at restart | Membership changes are infrequent and can wait for a planned restart | Connections to new or removed peers wait until the restart, so emergency removals are slow |
| Change timing | Runtime updates through the PERM API | You must add or remove a peer without restarting the node | The PERM API is an administrative group. Keep it off application-facing nodes, and confirm it is available in your Besu release before you plan around it. |
| Node role | Validators and bootnodes | Nodes that carry consensus or peer discovery traffic need the tightest control | Bootnodes must appear in the list, or the node will not start with node permissioning enabled |
What the allowlist file must contain and why bootnodes are required
The node permissions file is the list Besu reads to decide which remote nodes a node may peer with. Its core is a nodes allowlist, where each entry is an enode URL: a enode:// string that carries the node's public key, followed by the address and port the node listens on for peer connections. Besu identifies a peer by that public key, so the enode URL is the unit you approve or remove. The most important rule is that every bootnode must appear in the allowlist. If a bootnode is missing, Besu does not start with node permissioning enabled, so a single omitted bootnode blocks the whole node from starting, not just the connection to that bootnode. Treat the bootnode list as a hard prerequisite and check it against the genesis and configuration files before any node is restarted.
Build the list from each member's node identity, not from its host name or IP address. Each operator should provide the enode URL of the node it runs, generated from that node's public key, and the consortium should compare every submitted URL against what the operator actually publishes, since a typo in the key or port produces a node that silently cannot connect. Confirm with each member which address and port their node advertises to peers, especially if traffic passes through a load balancer or NAT gateway, because the enode URL must match what other nodes see. Keep the list in version control so every change has a reviewer and a history. The exact file layout and the enode syntax should be confirmed against the Besu permissioning documentation for the release you run.
A bootnode change is the case most likely to cause an outage. Before a bootnode is retired or replaced, add its replacement to the allowlist on every node, confirm each node restarts cleanly with both entries, and only then remove the old bootnode. If the allowlist is updated at runtime through the PERM API instead, verify the change has taken effect on each node and that the bootnode set given to new nodes still resolves. Note that the allowlist check is one-directional: Besu checks only that the remote end of a connection is listed, not that the local node itself is listed, so a node can be on other nodes' lists and still be unable to peer if its own list is wrong. Check both directions after every bootnode change.
Updating the allowlist at runtime through the PERM API
Besu can change the nodes allowlist while a node runs through the PERM API, which makes it useful for admitting or removing members. The cards below cover what each change touches, and the controls that keep a consortium's nodes in agreement and the change still in place after a restart.
Adding and removing nodes
The PERM API lets an operator add enode URLs to and remove them from the nodes allowlist on a running node, without editing the permissions file and restarting. Use it for a planned change such as admitting a new member's node. Confirm the exact method names, parameters and return values for your Besu version in the PERM API reference before you script anything, because the calls are version-specific.
Local permissioning docsApplying the same change everywhere
Each node enforces its own allowlist, so a runtime change on one node does not update its peers. Every member's nodes need the same change in the same change window, or connections will succeed in one direction and fail in the other. Keep a single change record that lists each node you updated, and verify each node's list after the change rather than assuming the call succeeded.
Effect on existing connections
Before you remove an enode, check whether a live peer connection depends on it. Removing an entry does not necessarily drop a connection that is already open, so confirm in the peer list whether the node is still connected after the change. Test this on a non-production network first, because the behavior of an open session after removal is something to verify in your version.
Access control on the PERM API
The PERM API can change which nodes your network trusts, so it must not be reachable by application clients. Enable it only on administrative endpoints, restrict the network path to operators, and apply JSON-RPC authentication to those endpoints. Record who can call it, and review that list whenever staff or automation changes.
JSON-RPC authentication docsPersisting changes across restarts
A runtime change is not written back to the permissions file, so a restart can restore the old list. Make each change in the source file or your configuration management as well as in the running node, and confirm that the file and the live list match after every restart. Keep the file under version control so the reviewed state is the state that starts.
What the node allowlist does not check
Local permissioning checks only the remote end of a connection. When a node evaluates a peer, it asks whether that peer's enode is in its own nodes allowlist. It does not check whether its own identity is listed in the other nodes' files. The result is asymmetric: a node can accept connections from every peer on its list while some of those peers reject it, because its own enode is missing from their lists. Before go-live, confirm that each node's enode appears in every other member's allowlist, and that the bootnodes are covered as well, since the allowlist must include them for node permissioning to start at all. Check the two directions separately, because a passing test from one side says nothing about the other.
The node allowlist is also narrow in scope. It governs which peers may establish connections and nothing more. It does not restrict which accounts can submit transactions, which accounts can take part in transactions a node relays, or what a block producer includes in the blocks it builds. A transaction from an unlisted account can still be propagated and mined if the network accepts it through other paths. Treat the node list as one control among several, and write down which of these behaviors your governance model requires to be blocked. Confirm each gap against the version of Besu you run, because the permissioning documentation sets the boundaries and may change between releases.
For the remaining controls, plan separate work. Account allowlisting covers which accounts may transact and is described in the sibling topic on Besu permissioning. Controls on message propagation, transaction admission and block content need a custom permissioning rule implemented through a plugin, which carries its own build and maintenance cost. Ask your Besu integrator to map each required control to either a configuration setting, an account rule or a plugin before the design is signed off.
How a peer connection passes the allowlist check
The check starts when a peer attempts to connect, in either direction. Besu looks up the remote node's enode in the nodes allowlist defined in the permissions configuration file and accepts or rejects the connection on that result. The local node's own entry is not evaluated, so a node can be listed correctly and still be unable to reach a remote peer that is missing from its allowlist. Confirm the bootnodes are in the list before enabling node permissioning, because Besu will not start with permissioning enabled if they are absent.
Besu checks only the remote enode against the nodes allowlist.
Security and operational risks of a node allowlist
A node allowlist is only as good as the process that maintains it. The risks below share one root cause: the list is a set of static files that must track membership, network addressing and key handling across every node. Each card names the control to apply and what to confirm in your own environment.
Stale list after a member leaves
When an organization leaves the consortium or its node is retired, its enode can remain in other members' allowlists. The entry keeps a dead or repurposed address trusted, and a new host that reuses the address may be admitted. Apply a removal step to the change process that deletes the enode from every node's file, then restart or reload according to your setup. Confirm which nodes still hold the old entry and who owns the removal ticket.
Local permissioning docsBootnode omissions that stop startup
Besu does not start with node permissioning enabled unless the allowlist includes the bootnodes. A node that is missing a bootnode entry fails at startup rather than degrading quietly, which can block a rebuilt or newly provisioned node. Keep the bootnode enodes in a shared template that every node file is generated from. Confirm that each node's file contains every bootnode before a rollout.
Local permissioning docsEnode changes when hosts or IPs change
An enode URL embeds the host address and port. If a node moves to a new IP, load balancer or NAT address, peers that list the old address will refuse it, and the node may not appear connected. Use stable DNS names where your platform supports them, and treat any address change as a permissioning change that must reach every member. Confirm the address each node advertises, and whether ingress and egress addresses differ.
Unprotected PERM API access
Updates through the PERM API change which nodes are allowed at runtime, so any caller that can reach the API can alter peer trust. Restrict the PERM API group to administrative hosts, and do not expose it on application-facing nodes. Require authentication for JSON-RPC access, using a credentials file or JWT validation, and terminate HTTPS at a proxy you control because Besu does not terminate HTTPS natively. Confirm which interfaces listen for RPC traffic and who holds the credentials.
JSON-RPC authentication docsPlaintext node key files
The node allowlist identifies peers by enode, but it does not protect the node's own private key. Besu documentation says the local node private key file is not encrypted, so anyone who reads that file can impersonate the node. Store key files with restrictive file permissions and encrypted volumes, or use a security module plugin such as the Besu HSM plugin where hardware-backed storage is required. Confirm who can read the node data directory and whether backups contain the key file.
Node keys docsDrift between members' files
Each organization maintains its own permissions file, so lists can diverge through missed updates, local edits or different template versions. Two members may then disagree on whether a peer is trusted, and connections fail in only one direction. Keep allowlist files under version control, review every change through the consortium process, and compare file checksums across nodes on a schedule. Confirm which member is the source of truth for each entry and how drift is detected.
Questions buyers ask about node allowlisting in Besu
Can our in-house team configure a Besu node allowlist on its own?
Yes, a team with Besu experience can write the allowlist file, set the permissions options and test peering without a partner. The file itself is simple. The harder part is agreeing who maintains it, keeping every node's list consistent, and proving the setup works after each change. Ask your team whether it has run a Besu network before, who owns the enode list across organizations, and whether it can test a bootnode failure without disrupting live traffic. If any answer is no, a scoped engagement can cover the design, the first rollout and a handover. Confirm the approach with your own engineers and the Besu permissioning documentation before you commit either way.
What drives the effort of maintaining a node allowlist?
Effort rises with the number of member organizations, how often nodes join, leave or change IP addresses, and how much of the update process is automated. A network with a few stable nodes needs a small, occasional edit. A consortium with many members, frequent onboarding or nodes behind changing addresses needs a repeatable process, version-controlled files and a test step before each change reaches production. Ask for the expected member count, the change frequency, the automation you want in your deployment tooling and the number of environments that must match. Each of these changes how much work the quote covers.
How long does it take to set up a consortium change process for allowlists?
The duration depends on how many organizations must agree, how mature their change controls already are and whether the process needs legal or governance sign-off. Setup usually covers agreeing a request format, naming approvers for each organization, defining how a change is tested on a non-production network, and deciding how and when each operator applies it. A partner can estimate this only after reviewing your governance model and member list. Ask any provider for a written timeline that separates the internal governance work your consortium must do from the technical work the provider performs.
What does the work need from our side, such as enode lists and change approvals?
Expect to supply the enode URLs of every node you will admit, the bootnode list, the IP addresses or DNS names each node uses, and the names of people who approve allowlist changes. You also need a test environment that mirrors the production peer set, and access to the deployment tooling where the permissions file is stored. Approvers should be named in writing, with a clear rule for emergency removals. Without these inputs, the allowlist can block valid peers or admit nodes nobody has verified. Confirm each input before the engagement starts so the scope and deliverables reflect what your teams can actually provide.
Does a node allowlist alone satisfy an audit requirement?
No. A node allowlist is one control that restricts which remote nodes can connect. Auditors typically also look for evidence that the list is approved, changed through a documented process, reviewed on a schedule and consistent across operators. Local permissioning also does not check that the local node is listed, so the control depends on how every operator configures it. Auditors assess the whole control environment, and the independent auditor or certification body decides what satisfies a given requirement. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications. Confirm the specific requirements with your auditor before you design the evidence trail.
What can go wrong if the allowlist is misconfigured?
The most common failure is a missing bootnode. Besu does not start with node permissioning enabled if the nodes allowlist omits the bootnodes, so a stale file can stop a node from restarting. A second risk is a list that differs between operators, which can split peers into groups that cannot connect. A third is an allowlist that checks only the remote end of a connection, so a node that is not itself listed can still be reached by listed peers. Test each change on a staging network, keep the previous file for rollback, and check peering after every restart.
Does the allowlist also control transactions and accounts?
No. A node allowlist controls peer connections only. Account restrictions are a separate control, and they are configured in the same permissions file type but serve a different purpose. Even with both controls in place, you should verify which checks apply to blocks produced by other validators, since the node allowlist does not inspect the content of those blocks. Ask your engineers to document each control separately and to test each one on its own, so that an auditor or reviewer can see what each control does and does not cover.
Can we change the allowlist at runtime without restarting nodes?
Besu exposes runtime permission management through the PERM JSON-RPC API group, so a node's allowlist can be updated without a full restart in supported configurations. Because that API is administrative, it should be restricted to operator tooling and kept off application-facing nodes. Confirm the exact methods and behavior for your Besu version in the documentation, and test every runtime change on a staging network first. Plan how you will persist runtime changes to the permissions file so a restart does not revert them.
Official Besu documentation on local permissioning
Start with the Besu local permissioning guide before you write any allowlist file. The task page, Use local permissioning, walks through enabling node permissioning and the nodes-allowlist setting, and it is the closest official reference for the checks this topic describes. Read it alongside the permissioning concept page, which explains how node permissioning (restricting connections to known participants) differs from account permissioning (onboarding rules, suspending accounts and restricting actions). Keeping the two concepts apart matters because this topic covers only the peer side. Account rules, if you use them, are configured and reviewed separately.
Check that the documentation version matches the Besu release you run. Besu ships calendar versions roughly monthly, and permissioning behavior, option names and removed features have changed between releases. The 26.4.0 release removed Clique consensus, and 25.6.0 removed onchain permissioning, so a page written for an older release can describe settings that no longer exist. Use the version selector on the docs site, then compare the release notes for your exact version on the Besu releases page. Record the version you tested against in your change record, because the allowlist behavior you verify in a lab is only valid for that build.
Before you rely on any setting, confirm three things with your own test cluster: how the node reads the allowlist file at startup, whether a runtime update requires a restart, and which log lines show a rejected peer. Ask your Besu contact or the maintainers through the project channels if the docs for your release leave any of these open. Treat the official guide as the source of truth for syntax, and treat your own test results as the source of truth for behavior in your network.
How DeployOpen scopes and delivers Besu node allowlisting
DeployOpen approaches node allowlisting as a scoped change to a permissioned network you already operate or are planning. We agree the peer list, bootnode coverage, runtime update path and verification steps in writing, then build and test the allowlist in your infrastructure and hand over the files, procedures and checks your operators need.
How we scope
- Inventory every node, bootnode and organization that must appear in the nodes allowlist before any file is written
- Confirm that each bootnode is listed, since Besu does not start with node permissioning enabled otherwise
- Agree in writing whether the engagement covers one node, a set of validators or a full consortium rollout
- Record which nodes will accept runtime updates through the PERM API and who is authorized to call it
How we build
- Write the nodes allowlist file in the agreed format and review each enode URL against the inventory
- Check that the local node is listed as well, because Besu only checks the remote end of each connection
- Test peering on a non-production network first, confirming that unlisted peers are refused and listed peers connect
- Review the exposure of PERM and other administrative API groups so that the allowlist cannot be changed by unauthorized callers
How we hand over
- Deliver the allowlist files, configuration settings and change procedure with an explanation of each setting
- Document what the allowlist does not check, including account permissions and the behavior of blocks produced by other nodes
- Provide a runbook for runtime updates through the PERM API, including verification steps and a rollback path
- Walk through the handover with your network operators so they can apply future changes without outside help
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial handover
- Retest the allowlist after Besu upgrades, bootnode changes or new member onboarding when those are in scope
- Cover consortium change control for allowlist updates across operators if your agreement includes it
- Confirm support boundaries, response expectations and any recurring fees in the written quote before work starts

