Where to set it
- At deploy — the Network step of the Deploy node wizard, under Network & Access.
- Any time after — open the node, go to the RPC tab, and use its Edit action (dialog: Edit RPC exposure).
Modes
Pick the lightest mode that fits: Local for a node only other in-network workloads consume, Direct for a port you restrict yourself at the network edge, Public domain to publish a hardened public endpoint with a hostname and TLS.
A node that serves a pool belongs in Local as well: the pool’s gateway reaches it from inside the host or cluster, so nothing is lost by closing the port, and the pool domain stays the only way in.
Consensus RPC on a node with a validator
An Ethereum node that runs a validator keeps its consensus RPC Local: the validator depends on that beacon API, and it mustn’t be reachable from outside. In the deploy wizard and in Edit RPC exposure, the consensus RPC is set to Local and locked, with the note “Kept private while a validator runs on this node.” Adding a validator to a node whose consensus RPC was public closes it — the validator dialog says so before you save. The execution RPC is unaffected. To publish the consensus RPC again, remove the validator first.Direct
Direct publishes the RPC port so clients reach it on the executor’s network. How that happens differs by backend:- Agent (bare-metal) — binds RPC to
0.0.0.0on the host, so any caller who can route to that host reaches the port. - Operator (Kubernetes) — publishes a Service whose type you choose:
- NodePort (default) — opens a port on every cluster node. Reaching it from outside still depends on the node having a routable IP and the firewall allowing the node-port range.
- LoadBalancer — provisions a cloud load balancer.
- ClusterIP — keeps the port in-cluster only; it isn’t reachable from outside the cluster.
gRPC and WebSocket ports
Some roles serve a gRPC or WebSocket API next to HTTP RPC — for example Tron’s gRPC. On a role that has an RPC control, every such port follows the mode you pick for RPC:
Each mode lists the role’s Endpoint ports, labelling every port direct, public domain, local, or internal, so you can see what a save will open before you make it. On an Agent, a directly exposed port the client can’t bind to one address (java-tron’s, for example) is reported on the RPC tab as externally reachable.
On an Operator, a node with RPC-key auth gets a
NetworkPolicy, and it admits every directly exposed port — gRPC and WebSocket as well as RPC (for example Tron gRPC). A node without RPC-key auth has no NetworkPolicy, so nothing filters its ports in the cluster.Public domain
Public domain serves the node’s RPC through a managed gateway, so clients connect to a cleanhttps://<domain> instead of a raw host:port. You provide:
- Domain (required) — the hostname clients will use, e.g.
rpc.example.com. Point its DNS at the executor’s public address — the Agent host’s public IP, or the cluster’s ingress external IP on Operator. The dialog shows the exact record to create once the executor reports its address. Novacula does not manage DNS zones. - HTTPS certificate — Automatic (a certificate is issued and renewed for you by the executor’s certificate issuer — cert-manager on Operator, where your cluster needs a configured issuer), Existing secret (you name a Kubernetes TLS Secret holding
tls.crtandtls.keyin Certificate secret), or External TLS (HTTPS is terminated before Novacula). - Access — RPC key (the gateway requires a valid RPC key) or Open (anyone who can reach the domain can call it).
RPC keys
When a proxy endpoint uses RPC-key auth, access is gated by a per-node RPC key — the bearer credential your clients present to the proxied endpoint. There is one active key per node. You can issue it at deploy time (Issue RPC key after deploy) or from the node’s RPC tab later (Issue RPC key after save). The key’s secret is shown once, at the moment the executor mints it — copy it then, because Novacula stores only a hash and can’t show it again. The key itself is reusable for as many requests as you like; issuing a new key rotates the old one out (it’s revoked on the next sync). Present the key as a bearer token in theAuthorization header of each request to the proxied endpoint:
Reading the endpoint
The node’s RPC tab shows the endpoint clients should actually use, resolved to a reachable address rather than an internal hostname:- Direct —
protocol://host:port, where host is the node’s verified public IP. The tab marks whether the endpoint is externally reachable and offers copy / open actions. Novacula detects and verifies the address for you; where it can’t, set one from the exposure dialog — enter a public IPv4 literal and Check it, and the Hub verifies the address reaches this node before it’s saved. See Public IP verification. - Public domain —
https://<domain>, always external, with certificate status (pending,ok, orfailed) and a DNS-record hint. - Local (Operator) — the node’s in-cluster endpoint, its
ClusterIPService address and port, for workloads in the same cluster. The RPC endpoints panel on the node’s Overview marks it Private network (an external endpoint reads Public network).
<pending>); give the executor a cycle to report, and check your cloud/firewall if it persists.
Permissions
Changing a node’s exposure is a configuration change, so it requires the Owner or Admin role — same as editing a running node. Members have read-only access. See Roles and permissions.Related
- Deploy a node — set exposure at deploy time.
- Pools — serve several nodes behind one domain and one TLS certificate.
- Edit a running node — what else can change after deploy.
- Provision on Kubernetes — ingress, cert-manager, and the RBAC the proxy and metrics paths need.