question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

luci-app-upnp: IPv6 pinholes aren't displayed

See original GitHub issue

Powered by LuCI openwrt-19.07 branch (git-21.189.23240-7b931da) / OpenWrt 19.07.7 r11306-c4a6851c72 luci-app-upnp git-21.189.23240-7b931da-1 miniupnpd 2.2.0-4 miniupnpc 2.1.20190408-2 (on router)

I’m not sure if this is a problem with the luci app, a limitation of miniupnpd or that Transmission isn’t setting pinholes, or a limitation of miniupnpc for which it has no method of getting a pinhole listing.

I guess what I need is help trying to debug whether pinholing is working at all

https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=4799

davygrvy@puukukui:~$ upnpc -L
upnpc : miniupnpc library test client, version 2.1.
 (c) 2005-2019 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.0.1:5000/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.0.1:5000/ctl/IPConn
Local LAN ip address : 192.168.0.241
 i protocol exPort->inAddr:inPort description remoteHost leaseTime
 0 TCP 51413->192.168.0.241:51413 'NAT-PMP 51413 tcp' '' 986
 1 TCP  8333->192.168.0.241:8333  'Bitcoin Core v0.21.1' '' 604681
 2 UDP 51413->192.168.0.241:51413 'Transmission at 51413' '' 482188
 3 UDP  9308->192.168.0.217:9308  '192.168.0.217:9308 to 9308 (UDP)' '' 460923
davygrvy@puukukui:~?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

1reaction
davygrvycommented, Jul 19, 2021

Transmission needs a new feature and we need a way to view IGDv2 pinholes. Also here

0reactions
davygrvycommented, Jul 19, 2021

One step closer. I see this in syslog, so I know we are compiled for IPv6.

Sun Jul 18 12:19:58 2021 daemon.notice miniupnpd[19100]: HTTP IPv6 address given to control points : [2602:306:xxxx:xxxx::1]

And now upnpc sees the upnp daemon and sets the pinhole.

$ upnpc -6 -A 0 0 2602:306:xxxx:xxxx::214 51413 TCP 900
upnpc : miniupnpc library test client, version 2.1.
 (c) 2005-2019 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://[2602:306:xxxx:xxxx::1]:5000/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://[2602:306:xxxx:xxxx::1]:5000/ctl/IPConn
Local LAN ip address : 2602:306:xxxx:xxxx::214
AddPinhole: ([0]:0 -> [2602:306:xxxx:xxxx::214]:51413) / Pinhole ID = 1

The problem for me was two global-scope v6 address blocks on the interface. I can’t set a pinhole from one to the other.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenBSD miniupnpd/Ubuntu upnpC pinholing issue ... - GitHub
Now am testing ipv6 pinholing support using the upnpc client installed ... luci-app-upnp: IPv6 pinholes aren't displayed openwrt/luci#5197.
Read more >
Port Control Protocol support - For Developers - OpenWrt Forum
To open the port the old solution was a UPNP IDG which is part of Plug-and-Play. And this is an incredibly terrible protocol:...
Read more >
View topic - Cannot add IPv6 PinHoles to OpenWrt e other CPEs
In any case where it doesn't work when running the miniupnp client and trying to AddPinholes I always get a: "Local LAN ip...
Read more >
In UPnP IGD, what's the difference between a firewall pinhole ...
A (typical) IPv4 firewall, embedded in an Internet router, has a single IPv4 address on the Internet, on its WAN interface.
Read more >
Openwrt spectrum router. 4GHz (QCN9024 4×4 ax) * two ...
Double your In this guide, we will show you how to set up a NordVPN connection on routers using OpenWrt firmware via the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found