Guide to Prepare, Configure, and Bond a Nym Node (Talent Land)
Workshop: step-by-step guide to prepare a VPS, configure a Nym Node, automate its execution, and perform bonding correctly with Nym Wallet.
Overview
This guide was written for a workshop at Talent Land 2026, summarizing the process to get a Nym Node ready from scratch, following the official Nym documentation and covering the most important steps to avoid common deployment mistakes.
The goal is to cover the complete flow:
- prepare the VPS
- prepare the Nym Wallet
- install or validate the
nym-nodebinary - initialize and configure the node
- automate its execution
- perform bonding
- verify that the node is correctly published and operational
Official References
This guide is based on the official Nym documentation:
- Preliminary steps
- VPS setup
- Wallet preparation
- Nym node setup
- Nym node configuration
- Bonding
What You Are Going to Deploy
Before starting, it's important to understand that nym-node can operate in different modes:
- mixnode, responsible for routing traffic within the mixnet
- entry-gateway, entry point for clients
- exit-gateway, exit node to the Internet, with more sensitive network and policy requirements
Additionally, Nym distinguishes between two types of routing:
- Mixnet routing, based on 5-hop routes
- dVPN routing, based on 2-hop routes via WireGuard
If this is your first deployment, the most sensible approach is to start with mixnode, since operating as a gateway or enabling WireGuard involves more sensitive network configuration and greater security attention.
Prerequisites
Before touching the node configuration, Nym recommends completing these prerequisites:
- have the
nym-nodebinary available - have a properly configured VPS
- create a Nym Wallet with sufficient funds
- ensure the node can announce itself with a valid public IP and, if applicable, a hostname
Doing this part well avoids a lot of troubleshooting later.
VPS Preparation
Choosing a Suitable VPS
The server must have, at minimum:
- Static IPv4
- Static IPv6
- Stable connectivity
- A provider with good network support for this type of traffic
Nym's documentation emphasizes an important point: your node must be able to communicate over both IPv4 and IPv6, since other nodes and clients may use either.
Practical Recommendation
A reasonable baseline to start with:
- 2 vCPU or more
- 2 to 4 GB RAM
- SSD
- Stable Ubuntu or Debian
- Public IPv4
- Fully functional IPv6
Base System Update
Before installing any components, clean and update the server.
Recommended steps:
- SSH in with a privileged user
- Update the system
- Install basic administration and networking utilities
Useful tools:
curlwgetjqtmuxufw- Network diagnostic utilities
Firewall and Network Exposure
Before starting the node, open the ports it will actually use according to the chosen operating mode and your config.toml file.
Nym's documentation makes clear that the exact port reference depends on the final node configuration, and any changes must be reflected both on the server and in the values announced at bonding time.
Minimum Checklist
- review which ports the node will use
- open them in the local firewall
- also open them in security groups or cloud provider rules
- confirm that incoming traffic actually reaches the VPS
IPv6 Validation
IPv6 is not optional in practice, even outside gateway use cases.
Why does it matter? Because if the node participates in routes where IPv6 traffic flows and the server doesn't route correctly, it will start dropping packets and degrading performance.
IPv6 Checklist
- confirm the VPS has a public IPv6 assigned
- confirm IPv6 outbound connectivity to the Internet
- verify the firewall is not blocking it
- check that the provider actually routes IPv6 and doesn't just show it in the panel
File Descriptor Limits
Nym documents that many Linux systems maintain a default limit of 1024 open files, which is often too low for a node maintaining multiple simultaneous connections.
If the limit is too low, failures may appear where the operating system stops accepting new connections.
What to Do
- if using
systemd, configure the limit in the service - if operating temporarily with
tmux, review and adjustulimit -n
Root or Non-Root Operation
The documentation indicates that nym-node can run without root, but some advanced networking operations require elevated privileges.
Practical Recommendation
- if you're starting out, follow the standard path
- if you want to run as a non-root user, first review the specific documentation section and understand the implications
Preparing the Nym Wallet
Before bonding, you need a properly prepared Nym Wallet.
Create the Wallet
- download the Nym Wallet from the official site
- create a Nym address
Fund the Wallet
On mainnet:
- the minimum for bonding is 100 NYM
- keep extra balance to cover fees
Important: only Cosmos NYM tokens work for bonding.
ERC20 NYM tokens cannot be used to operate the node.
On sandbox testnet:
- create the wallet
- request funds from the corresponding faucet
Prepare the nym-node Binary
The documentation assumes the binary has already been:
- compiled from source, or
- downloaded as a precompiled binary
Before continuing, validate the following:
- the file exists
- it has execution permissions
- it responds correctly to
nym-node --help - you are using the correct version
Configuration Paths
By default, nym-node uses the local identifier:
default-nym-node
The configuration lives at:
~/.nym/nym-nodes/default-nym-node/config/config.toml
If you define a custom ID, the path changes to:
~/.nym/nym-nodes/<ID>/config/config.toml
Other relevant files:
~/.nym/nym-nodes/<ID>/data/description.toml~/.nym/nym-nodes/<ID>/data/cosmos_mnemonic
Node Initialization
The run command performs two actions the first time:
- initializes the necessary files
- starts the node
You can also initialize without starting using --init-only.
Recommended Approach
The safest way to start is:
- initialize without starting
- review
config.toml - correct IPs, hostname, and key parameters
- do a first manual test run
Choosing the Mode
You can use the default ID or define one with --id <ID>.
You must also specify a mode with --mode <MODE>:
mixnodeentry-gatewayexit-gateway
Nym recommends running one functionality per instance.
Important Runtime Parameters
--public-ips
This is one of the most important parameters because it directly impacts:
- correct bonding
- node visibility
- reachability from the network
--hostname
If you have already configured a reverse proxy and WSS, you can announce a hostname. If not, you can start using a public IP.
--accept-operator-terms-and-conditions
This parameter is mandatory. You must explicitly accept it when running nym-node run.
If operating with systemd, this flag must also be present in ExecStart.
--write-changes
If you pass flags at runtime, those values take priority over config.toml, but they are not always saved automatically.
To persist them, use:
-w--write-changes
Editing config.toml
After initializing, carefully review the file:
~/.nym/nym-nodes/<ID>/config/config.toml
Key points to validate:
- public IP
- ports
- operating mode
- API options
- relevant networking
The practical rule is simple: if you manually edit the file, restart the node or service to apply changes.
Public Node Description
You can add a public description of the node by editing:
~/.nym/nym-nodes/<ID>/data/description.toml
After saving changes, restart or reload the service for them to take effect.
Exposing the Node API Correctly
The bonding documentation highlights something critical: the node publishes minimal information, and much of its data is discovered through its self-described API.
If that API is not properly exposed, the node may become unroutable or poorly announced.
Recommendation
- properly expose the HTTP API port
- use the port recommended by Nym when applicable
- verify the endpoint responds from outside the VPS
Additional Configuration
The node can be adjusted in two ways:
- editing
config.toml - passing flags to the binary
After any change, remember to restart.
The documentation also mentions options to limit exposure of system or hardware information, depending on the privacy level you want to maintain.
Automation Strategies
Nym presents several alternatives for keeping the node running.
nohup
A simple solution, but not robust for production.
tmux
Useful for:
- testing
- debugging
- temporary operation
systemd (recommended)
It is the best option for production because it enables:
- auto-start on boot
- automatic restart
- better uptime
- limit configuration like
LimitNOFILE
The practical recommendation is to do a manual start first and, once verified, migrate to systemd.
First Startup
A reasonable first startup sequence would be:
- initialize the node
- review
config.toml - confirm public IP and ports
- start in the chosen mode
- explicitly accept the terms
- review logs and connectivity
Verify the Following
- the process is still up
- the API responds
- ports are listening
- the node is accessible from outside
Advanced Networking for Gateway or WireGuard
Advanced networking configuration becomes especially important if you plan to use:
entry-gatewayexit-gateway- WireGuard
- NTM
Nym provides tools and references for managing:
- IPv4 and IPv6 routing
- tunnel interfaces
nymwginterfaceiptablesrules- connectivity tests
WireGuard
To enable it, the documentation indicates using:
--wireguard-enabled true
But that alone is not enough. You must also properly configure:
- interfaces
- forwarding
- firewall
- exit policy
Exit Policy
If operating as exit-gateway, you must correctly apply the exit policy to avoid ending up with an open proxy.
Reverse Proxy and WSS
Optional but recommended if you want to:
- announce a hostname
- improve node publication
- enable WSS
If you change announced host or ports, update them also in the wallet or settings associated with bonding.
Running as a systemd Service
The correct logic for production is:
- create
nym-node.service - point
ExecStartto the correct binary - include
--mode <MODE> - include
--accept-operator-terms-and-conditions - define automatic restart
- increase
LimitNOFILE - enable the service at boot
Before bonding, the node should be automated and running stably.
Bonding the Node
Only do the bonding once you have validated the following:
- VPS ready
- wallet ready
- node running
- API functional
- correct ports
What Bonding Does
Bonding links your node with Nym / Nyx so it can become eligible for traffic and rewards.
Recommended Method
The documentation recommends using the Desktop Wallet.
General Flow
- open the wallet
- go to the bonding section
- select Nym Node
- enter the node's data
- sign the transaction
- confirm
An epoch lasts approximately 60 minutes, so some changes may take until the next epoch to fully reflect.
Critical Data to Validate
- correct host, IP, or hostname
- correct HTTP API port
- API accessible from outside
If you change any of those values after bonding, update them also in the wallet or corresponding configuration.
Funding the Internal Nyx Account
Each nym-node generates an internal Nyx account, whose mnemonic is stored at:
~/.nym/nym-nodes/<ID>/data/cosmos_mnemonic
It is important to understand that:
- it is not the same account used for bonding
- it is used for internal node operations
- it is especially relevant for
entry-gatewayandexit-gateway
The documentation suggests that around 25 NYM is usually sufficient for fees in this internal account.
Post-Bonding Verification
After bonding, check:
- the process is still up
- the API is still responding
- ports remain accessible
- the node appears in the corresponding explorer
- there are no connectivity errors
Recommended Deployment Order
Phase A. Base Infrastructure
- contract VPS with static IPv4 and IPv6
- update the system
- install basic utilities
- configure firewall
- verify IPv6
- adjust
ulimit
Phase B. Wallet
- download Nym Wallet
- create Nym address
- fund it with NYM
Phase C. Node
- download or compile
nym-node - verify version
- initialize with
--init-only - edit
config.toml - define mode
- do first manual startup
Phase D. Extra Networking
- configure NTM if using gateway or WireGuard
- configure exit policy if using WireGuard or exit
- optionally set up reverse proxy and WSS
Phase E. Production
- create
systemdservice - enable auto-start
- confirm API and ports are accessible
Phase F. Bonding
- bond from Desktop Wallet
- verify appearance in explorer and API
- fund internal Nyx account if applicable
Common Mistakes
The most common errors when deploying a Nym Node are:
- bonding before testing real connectivity
- having functional IPv4 but broken IPv6
- not properly exposing the API
- forgetting to accept the terms in the actual command
- enabling WireGuard without an exit policy
- not increasing
ulimit - changing host or ports without updating announced configuration
Final Recommendation
If this is your first time operating a Nym Node, the best strategy is simple:
- start with mixnode
- use
--init-onlybefore the first startup - validate API and connectivity
- put the node under
systemd - do the bonding only when everything above is verified
This order greatly reduces errors and makes the process much more predictable.
Closing Thoughts
Deploying a Nym Node is not just about installing a binary and turning on a service. The truly important part lies in environment preparation, correct network exposure, operational stability, and coherence between what the node announces and what it can actually serve.
When that foundation is well done, bonding and subsequent operation become much simpler.