-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--upnp support problem #1620
Comments
Need we update the decred's upnp code to https://gitlab.com/NebulousLabs/go-upnp/-/tree/master? |
@dajohi Hi I tested https://gitlab.com/NebulousLabs/go-upnp module, It works fine. I think we need replace dcrd's upnp to this code.
|
I edited the line 369 of upnp.go from |
My network is Dynamic Internet IP and Regular changes for 1 or 2 days, So I need upnp to auto mapping port for decred public node.
I found a problem that dcrd's upnp don't work well, but bitcoind's upnp have no problem.
I change three router for this problem, But it don't work.
The dcrd log is
[WRN] SRVR: can't add UPnP port mapping: error 500 for AddPortMapping
And then I captured the data packet for upnp, the following information:
ps:192.168.1.1 is my router and 192.168.1.4 is a running dcrd's raspberrypi.
Here is the pcap https://mega.nz/#!Uz5iAQKK!lpDskeUkflZ0ExwicsdYwkhaH-3wNHm7I3HLfk4VQpc
The text was updated successfully, but these errors were encountered: