https://github.com/jech/portmap
Go library for mapping ports using NAT-PMP or UPNP.
https://github.com/jech/portmap
Last synced: 4 months ago
JSON representation
Go library for mapping ports using NAT-PMP or UPNP.
- Host: GitHub
- URL: https://github.com/jech/portmap
- Owner: jech
- License: mit
- Created: 2021-08-21T13:23:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T10:13:25.000Z (about 2 years ago)
- Last Synced: 2025-10-08T16:40:21.023Z (8 months ago)
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Map TCP and UDP ports using NAT-PMP or UPNP. Unlike some other libraries,
guarantee that we don't override other clients' ports, and that the
mappings will expire even if the client crashes.
See portmap-example for an example.