-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
miniupnpd not creating redirects since version 2.2 #14145
Comments
Testing as well with upnpc command as Indeed the change introduced in 7077fd8 breaks the possibility to create a redirect. With this undone, or with
It could be that my case is a bit strange, because I don't have native IPv6, but an IPv6-in-IPv4 tunnel through Hurricane Electic. The case of the xbox is a still strange. With miniupnpd 2.1 it showed a redirect, usually for port 3074. With 2.2 this redirect is no longer created. Yet the xbox dashboard shows the NAT Type sometimes as moderate and sometimes as open. In both cases, there is nothing in the firewall rules. |
ping @dianlujitao |
I'm able to reproduce the issue, In theory 7077fd8 "fixed"
I'm not able to verify 2 because I didn't found how to make upnpc send the request through ipv6 lan addr, but I guess transmission is able to send such requests so I didn't notice the issue. A simple yet effective fix is to remove |
For the changes introduced in b76aa99, I cannot fully test if the work or not. But the patch was also submitted upstream, and there was some comment about it: miniupnp/miniupnp#511 (comment) Do you see that comment? |
More info: #13773 I don't run such a setup so I can't comment on it. |
My setup is with a double NAT (192.168.100.x for modem; 10.0.0.x for router). As long as |
miniupnpd: Don't override ipv6_listening_ip Fixes:openwrt/packages#14145
I'm haveing the same issue with version 2.2.1 I dont get any rules created just the chains one on start of miniupnpd. I have three NATS basically, a user provided router that I must use set up with dmz to my openwrt router and a carrier grade nat at the providers offices. I use stun to get my public adress of the providers CGNAT and get this in my log:
UPNP works with the providers router and I guess when the ports are accessed they are blindly opened and forwarded to me as I get open port tests with a port scan, I dont know what happens if two people request the same port behind the same nat but I have not had issues so far. |
@ all: What is the status of this ticket? |
There is a new miniupnp app that works Windows based devices. |
Fixes: openwrt#14145 Signed-off-by: Jitao Lu <dianlujitao@gmail.com> (cherry picked from commit c89a1f3)
Maintainer: @neheb
Environment: TP-Link TL-WDR4300 v1 / Atheros AR9344 rev 2 / OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.334.47525-e9bfb12
Package version: miniupnpd 2.2.0-3
Description:
Miniupnpd fails to create redirects for UPnP devices. This happened since the upgrade to 2.2.0-x. Downgrading the package to 2.1.20200510-3 (the latests for which I could find a mirror) solves the problem.
My network setup consists of a modem/router, and an openwrt router behind it. Only the modem/router have a public IP address, the openwrt router only an internal IP address. The openwrt router is configured as the DMZ host in the modem/router. In upnp config I configured my public IP address.
I mainly performed tests with an Xbox, which on 2.1.x gets a redirect like "Teredo 10.0.0.39:3074->3074 UDP". On 2.2.x nothing happens.
/etc/config/upnp
The text was updated successfully, but these errors were encountered: