NAT-PMP protocol support
Should we support NAT-PMP? More info is needed if this would be only redundant to UPnP. Apparently NAT-PMP only supports IPv4. But then there is the replacement PCP which does support IPv6.
From https://github.com/jackpal/go-nat-pmp:
NAT-PMP is supported by Apple brand routers and open source routers like Tomato and DD-WRT.
Go implementation of port forwarding via NAT-PMP: https://github.com/jackpal/Taipei-Torrent/blob/master/torrent/natpmp.go
Alternative lib that uses same underlying package: https://github.com/libp2p/go-nat/blob/master/natpmp.go
Some additional background details: https://wiki.vuze.com/w/NATPMP
Comments
-
Related protocol: PCP.
According to https://en.wikipedia.org/wiki/Port_Control_Protocol:
PCP was standardized in 2013 as a successor to the NAT Port Mapping Protocol (NAT-PMP), with which it shares similar protocol concepts and packet formats.
One early lib: https://github.com/sashahilton00/go-pcp
Howdy, Stranger!