works for me...
Try:
killall miniupnd && /usr/sbin/miniupnpd -d -f /var/etc/miniupnpd.conf
... in order to see what's going on under the hood.
Also what is it that you use to test your UPnP?
Some probably useful links:
... at least it works sometimes for some people
Have you tried option external_ip 'your ip'
via SSH?
I had this same problem and this solved it, not even STUN worked. I just put an IP from my ISP's range, even though it's dynamic, it still works.
Here is a video that can help you: https://youtu.be/BvvB6vKi8hU?si=eO17lQxSLGrLkdRw&t=1118
My settings:
config upnpd 'config'
option enabled '1'
option internal_iface 'lan'
option port '5000'
option upnp_lease_file '/var/run/miniupnpd.leases'
option uuid '*******************'
option log_output '1'
option external_ip '45.***.***.0'
option model_number 'TP-Link Archer C6 v3'
option presentation_url 'http://192.168.1.1/'
option download '62500'
option upload '61250'
option clean_ruleset_threshold '1'
config perm_rule
option action 'allow'
option ext_ports '0-65535'
option int_addr '192.168.1.0/24'
option int_ports '0-65535'
option comment 'Allow high ports'
option external_ip, this won't work for me, I'm on cg-nat the ips change every time I reboot my router
My ISP is on CGNAT and my IP always changes on reboot too. Still, option external_ip
works for me. Have you tested it? It might work too.
you set the range to 0.0.0.0/24 or 0.0.0.0
I've set it to 192.168.1.0/24
since my router is 192.168.1.1
.
For the option external_ip
, I'm currently using the first IP from the first block of the ASN of my ISP - this part doesn't really matter, any IP from your ISP should work.