---
name: "miniupnpd"
section: "8"
platform: "linux"
package: "miniupnpd"
version: "2.3.11-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/miniupnpd"
---

# miniupnpd(8)

UPnP Internet Gateway Device Daemon

## NAME

miniupnpd - UPnP Internet Gateway Device Daemon

## SYNOPSIS

**miniupnpd** \[--version\] \[**-f *config\_file***\] \[**-i *ext\_ifname***\] \[**-I *ext\_ifname6***\] \[**-o *ext\_ip***\] \[**-a *listening\_ip***\] \[**-p *port***\] \[**-d**\] \[**-U**\] \[**-S0**\] \[**-N**\] \[**-u *uuid***\] \[**-s *serial***\] \[**-m *model\_number***\] \[**-t *notify\_interval***\] \[**-P *pid\_filename***\] \[**-B *down up***\] \[**-w *url***\] \[**-r *clean\_ruleset\_interval***\] \[**-A *permission rule***\] \[**-b *BOOTID***\] \[**-1**\]

## DESCRIPTION

miniupnpd act as a UPnP Internet Gateway Device. It is designed to run on the gateway between the internet and a NAT'ed LAN. It provides an interface, as defined in the UPnP standard, for enabling clients on the LAN to ask for port redirections.

## OPTIONS

- **-f** *config\_file*

  load the config from file.

- **-i** *ext\_ifname*

  interface used to connect to the internet.

- **-o** *ext\_ip*

  address used to connect to the internet. default address of the interface will be used if not specified.

- **-a** *listening\_ip*

  address on the LAN. -a option can by used multiple time if LAN is subdivised in several subnetworks.

- **-p** *port*

  port used for HTTP.

- **-d**

  debug mode : do not go to background, output messages on console and do not filter out low priority messages.

- **-U**

  report system uptime instead of daemon uptime to clients.

- **-S0**

  disable "secure" mode so clients can only add mappings to other IPs

- **-N**

  enable NAT-PMP and PCP functionality.

- **-u** *uuid*

  set the uuid of the UPnP Internet Gateway Device.

- **-s** *serial*

  serial number for the UPnP Internet Gateway Device.

- **-m** *model\_number*

  model number for the UPnP Internet Gateway Device.

- **-t** *notify\_interval*

  SSDP notify interval in seconds. Default is 900 seconds. SSDP announce messages will be broadcasted at this interval.

- **-P** *pid\_filename*

  pid file. default is /var/run/miniupnpd.pid

- **-B** *down up*

  download and upload bitrates reported to clients.

- **-w** *url*

  presentation url. default is first address on LAN, port 80.

- **-r** *clean\_ruleset\_interval*

  (minimum) interval between unused rules cleaning checks.

- **-A** *permission rule*

  use following syntax for permission rules :\
     (allow\|deny) (external port range) ip/mask (internal port range)\
   examples :\
     "allow 1024-65535 192.168.1.0/24 1024-65535"\
     "deny 0-65535 0.0.0.0/0 0-65535"

- **-b** *BOOTID*

  sets the value of BOOTID.UPNP.ORG SSDP header

- **-1**

  force reporting IGDv1 in rootDesc when compiled as IGDv2 \*use with care\*

## SEE ALSO

[minissdpd(1)](/minissdpd/1.md) [miniupnpc(3)](/miniupnpc/3.md)

## BUGS
