luci icon indicating copy to clipboard operation
luci copied to clipboard

Feature request: luci-app-upnp - provide or comment known-good STUN host/port options.

Open rwperrott opened this issue 9 months ago • 3 comments

What would you like to see in luci?

GL-iNet GL-BE6500 has a "Network Setting" -> "Drop-in Gateway" feature to allow chaining it after an old ISP router to take over DHCP, DNS, NAT, Firewall, for its own subnet, but uPNP won't work, because it can only see the old ISP routers address, not the WAN address. STUN resolves this gotcha, but I had to find https://forum.openwrt.org/t/solution-to-upnp-not-working/135748 to figure out what STUN was, and what value to use. There are probably safer other value too, because Google can't really be trusted.

rwperrott avatar Feb 09 '26 08:02 rwperrott

Hi maintainers, can I work on this issue?

smartcoder0777 avatar Feb 09 '26 17:02 smartcoder0777

There are comprehensive OpenWrt PRs that, among other things, preconfigures a CGNAT filtering capable STUN server. But why not use a tested server from this list? https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/miniupnpd.conf#L42-L46

Self-Hosting-Group avatar Feb 10 '26 09:02 Self-Hosting-Group

What I was suggesting was making this easier for other people who hit my gotcha and haven't used STUN before.

Thanks for the link, I'll try some of these domains out.

rwperrott avatar Feb 22 '26 14:02 rwperrott