Example: Manually specifying gateways and external ports
Some ISP-provided routers are under powered and may require rebooting before
they will respond to SSDP M-SEARCH messages.
You can manually specify your external address and/or gateways, though note
that those gateways will still need to have UPnP enabled in order for libp2p
to configure mapping of external ports (for IPv4) and/or opening pinholes in
the firewall (for IPv6).
The service exported by this module attempts to configure NAT hole punching via UPnP.
This will make your node publicly accessible from the internet.
For this to work there are some prerequisites:
Example
Example: Manually specifying gateways and external ports
Some ISP-provided routers are under powered and may require rebooting before they will respond to SSDP M-SEARCH messages.
You can manually specify your external address and/or gateways, though note that those gateways will still need to have UPnP enabled in order for libp2p to configure mapping of external ports (for IPv4) and/or opening pinholes in the firewall (for IPv6).