Miniupnpd: Can't find in which sub network the client is

  • 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[4556]: 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.

  • using Diagnostics -> Edit File, load '/var/etc/miniupnpd.conf'


    allow 1024-65535 1024-65535
    allow 1024-65535 1024-65535
    allow 1024-65535 1024-65535
    deny 0-65535 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

  • Rebel Alliance Developer Netgate

    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.

  • Rebel Alliance Developer Netgate

Log in to reply