---
name: miniupnpd
version: 1.8,1
origin: net/miniupnpd
comment: A UPnP IGD implementation which uses pf/ipf
arch: freebsd:9:x86:64
www: http://miniupnp.free.fr/
maintainer: squat@squat.no
prefix: /usr/local
licenselogic: single
flatsize: 94448
desc: |
  Mini UPnPd is a lightweight implementation of a UPnP IGD daemon. This is
  supposed to be run on your gateway machine to allow client systems to redirect
  ports and punch holes in the firewall.

  WWW: http://miniupnp.free.fr/
categories: [net]
options: {PF_ENABLE_FILTER_RULES: off}
files:
  /usr/local/etc/miniupnpd.conf.sample: b95c9d9cb7742355fde38ffcbd89ed45556258c309becc24c8fd76c8ae99a616
  /usr/local/etc/rc.d/miniupnpd: c011feeb1587d4b50f94b63a7b7e4030e97dd54685c373672e63513bed915a1b
  /usr/local/man/man8/miniupnpd.8.gz: 42caf4060de759ce82463f074925848f8db6a35b228095f6cb3cc1c77e7099e7
  /usr/local/sbin/miniupnpd: d6fc59687dbc7a82f58aa0ec6664e3307790cfbd992ab88282c154e9a81bbcb3
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |2

  *** !!WARNING!! !!WARNING!! !!WARNING!! ***
  This port allows machines within your network to create holes in your
  firewall.  Please ensure this is really what you want!
  *** !!WARNING!! !!WARNING!! !!WARNING!! ***

  For this daemon to work, you must modify your pf rules to add an anchor
  in both the NAT and rules section.  Both must be called 'miniupnpd'.
  Example:

  # NAT section
  # UPnPd rdr anchor
  rdr-anchor "miniupnpd"

  # Rules section
  # uPnPd rule anchor
  anchor "miniupnpd"
