如何使用 UPnP 转发端口?

如何使用 UPnP 转发端口?

我想在工作时转发端口,但是当我运行

upnpc -a 192.168.8.80 45444 45444 TCP

我收到错误

List of UPNP devices found on the network :
 desc: http://192.168.15.34:5000/ssdp/desc-DSM-eth0.xml
 st: upnp:rootdevice

UPnP device found. Is it an IGD ? : http://192.168.15.34:5000/
Trying to continue anyway
Local LAN ip address : 192.168.8.80
GetExternalIPAddress failed.
GetSpecificPortMappingEntry() failed with code -1 (Miniupnpc Unknown Error)

相关内容