Skip to content

feat: expose NAT traversal configuration options - #104

Merged
gmelodie merged 1 commit into
masterfrom
nat
Aug 19, 2026
Merged

feat: expose NAT traversal configuration options#104
gmelodie merged 1 commit into
masterfrom
nat

Conversation

@richard-ramos

@richard-ramos richard-ramos commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Expose nim-libp2p's NAT traversal configuration through the module's JSON options. This adds controls for gateway port mapping, explicit external IP advertisement, AutoNAT reachability probing, and DCUtR hole punching.

The new options preserve the existing disabled-by-default behavior, validate integer ranges and external IP input, and surface mutually exclusive NAT configurations as node-creation failures.

@richard-ramos
richard-ramos requested a review from gmelodie August 19, 2026 18:43
@gmelodie
gmelodie merged commit d8eeb99 into master Aug 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants