NIP-16: Nym Exit Policy Update - Opening Port 4242 for Nebula Networks

ID title created status kind author(s) champions
NIP-16 Nym Exit Policy Update – Opening Port 4242 for Nebula Overlay Networks 24-11-2026 proposed standard Serinko, Head of Network & DevRel serinko@nymtech.net, Merve, Operator technical mentor merve@nymtech.net Max, Senior DevRel max@nymtech.net, Sudo, Head of community simon.toth@nymtech.net

Summary

NIP-16 proposes allowing outbound connections to destination port 4242 under the Nym exit policy. The change supports Nebula overlay network users who need to communicate with other devices on their networks while connected to NymVPN.

Motivation

Nebula uses port 4242 by default for communication between nodes on its overlay network. Users have reported that they cannot connect to their Nebula overlay networks while connected to NymVPN, as traffic using this port is currently blocked by the Nym exit policy.

This issue was reported in nym-vpn-client GitHub issue #6884.

When connected to NymVPN, Nebula’s outer traffic is routed through the Nym tunnel and becomes subject to the exit gateway’s port-based exit policy. Since port 4242 is not currently allowed, this traffic is blocked, preventing communication with other Nebula nodes, including lighthouse servers.

Opening port 4242 would let Nym users communicate with their Nebula overlay network devices while connected to NymVPN, provided the destinations are otherwise reachable. It would not create a service or guarantee that a connection succeeds.

Relation to NIP-14

NIP-14 raised concerns about cumulative impact on exit node operators, risks of broad port ranges, and the need for careful governance. NIP-16 takes these concerns into account: it does not expand the exit policy generally or open a range of ports. It requests one specific destination port and provides context so operators can make an informed decision.

Scope

  • Destination port: 4242
  • Change: Allow connections to destination port 4242 under the Nym exit policy.

Security and Operational Considerations

Opening a destination port removes a restriction on traffic that can pass through Nym exits. It does not open an inbound port on an operator’s machine or expose a service hosted by that operator.

Not all services using port 4242 are equally secure. The relevant risk depends on the destination service, its configuration, and how it is exposed.

Operators should evaluate the change with a clear understanding of its scope. Opening one port is narrower than opening a range, but it is not a guarantee that all traffic to that port is harmless.

This proposal does not change operators’ existing legal obligations. Operators should continue to follow their usual safeguards and report concerns through established community channels.

Voting Options

Voting takes place at Nym Governator.

  • YES: Approve allowing outbound connections to destination port 4242 under the Nym exit policy.
  • NO: Reject the proposed change.

The proposal will be evaluated according to the applicable governance requirements, including quorum and approval thresholds.

Process

If the proposal meets the applicable quorum and approval requirements:

  1. A pull request will update the Nym exit policy to allow destination port 4242.
  2. The Network Tunnel Manager (NTM) will be reviewed and updated if necessary to keep operator WireGuard exit-policy configuration consistent with the Mixnet policy.
  3. The approved change will be deployed through the normal implementation process.
  4. The community may share feedback on Nebula compatibility and operational concerns after deployment.

The change is not a temporary trial. If approved and implemented, port 4242 will remain allowed unless a subsequent governance decision changes the policy.

Background

The Nym exit policy controls which destination ports are accessible through Nym exits. Since NIP-1, exit-policy decisions have been managed through Nym Governator to support transparent and accountable governance.

NIP-16 builds on the NIP-14 discussion by proposing a single, clearly defined port change and explaining its intended use case and limitations.