Miniupnpd: Can't find in which sub network the client is
zandr last edited by
Not sure if this is 2.1 specific, since this is also the first time I've configured pfSense with a network larger than a /24.
The logs on my machine are full of:
miniupnpd: Can't find in which sub network the client is
A thread in the openwrt forum suggests that the listening_ip lines in miniupnpd.conf need to be in CIDR notation, which they are not on pfSense.
I'd try fixing up the file manually, but it's not clear how to restart the service without going through the config page in the GUI, which rewrites the config.
majikthise last edited by
using Diagnostics -> Edit File, load '/var/etc/miniupnpd.conf'
allow 1024-65535 10.0.1.200/20 1024-65535
allow 1024-65535 10.0.4.200/20 1024-65535
allow 1024-65535 10.0.4.210/20 1024-65535
deny 0-65535 0.0.0.0/0 0-65535
add the CIDR info to the listening_ip line, in the above mine is /20
you restart the miniupnpd server using Status -> Services
If you don't see services register, try making sure that you've included the CIDR info in the allow fields. for me, it was only after I did this that the report showed up
Looking at the source of miniupnpd it seems it would be best to put the CIDR mask there. Shouldn't be too hard to fix up on our end.
databeestje committed a fix for this, seems to work: