Open LGA1150 opened 1 year ago
移动大内网内用这个方法吗,大佬
Same situation.
how can we fix it temporarily
venv/bin/pystun3 -H stun.qq.com
NAT Type: Full Cone
External IP: *.*.*.*
External Port: 34561
Press any key to continue
Even in Full Cone NAT mode, the STUN of miniupnpd does not work for me.
use miniupnpd-iptables and it work for me.
Is there any progress so far? I encountered the same situation and couldn't solve it with nft insert rule inet fw4 input jump upnp_forward
. I'm using ImmortalWrt 23.05.2.
The output of nft list chain inet fw4 upnp_forward
is as follows:
root@ImmortalWrt:~# nft list chain inet fw4 upnp_forward
table inet fw4 {
chain upnp_forward {
}
}
Is there any progress so far? I encountered the same situation and couldn't solve it with
nft insert rule inet fw4 input jump upnp_forward
. I'm using ImmortalWrt 23.05.2.The output of
nft list chain inet fw4 upnp_forward
is as follows:root@ImmortalWrt:~# nft list chain inet fw4 upnp_forward table inet fw4 { chain upnp_forward { } }
The same problem.
Maintainer: @stintel @stangri @jow- Environment: OpenWrt SNAPSHOT, r23763-46ed38adeb, mt7622
Description: My ISP provides CGNAT IP address with fullcone (including TCP). However, when I try to set up STUN for miniupnpd, it failed to detect the fullcone type.
I think OpenWrt's firewall blocked the incoming STUN packets, because the same had happened when I tested the NAT type on Windows: it does not detect the fullcone type unless I disabled the firewall or add the detection tool to the firewall allow list.
I set
option log_output '1'
in upnpd config to enable verbose logs, then I noticed it tried to add firewall rules toupnp_forward
.When miniupnpd is restarting, 4 firewall rules are added to
upnp_forward
chain:As the name suggests, this chain is only used in
forward
chain, notinput
chain, so miniupnpd does not open the ports properly. If I manually callupnp_forward
ininput
, everything works:nft insert rule inet fw4 input jump upnp_forward