Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 21:38:36 -0400
From:      "Scott Ullrich" <sullrich@gmail.com>
To:        "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   miniupnp port for FreeBSD-PF
Message-ID:  <d5992baf0608201838q270678e1k936f6aae2f82a9d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

Thanks to Seth Mos of the pfSense project and http://miniupnp.free.fr/
we would like to present the first draft of a enhanced miniupnpd port.

This ports extends the version found http://miniupnp.free.fr/ to
automatically install pf rules for the opened upnp rdr ports.  In
addition I have added a -o switch allowing a user to override the wan
ip so that CARP can work correctly.

The port skeleton can be found at
http://www.pfsense.com/~sullrich/ports/net/miniupnpd.tgz ... Simply
extract it to /usr/ports/net/

To start miniupnpd simply run something similar to this:

miniupnpd -i fxp0 -a 10.0.250.2 -o X.X.X.X -p 2689

-i  = wan interface
-a = lan ip to listen on
-o = desired wan ip to listen on (optional)
-p = port to listen on

Things that need to be done still:

 * Manual page

Thanks to Andrew Thompson for helping me with the -o option when I was
having brain issues and to Seth Mos for adding the additional firewall
rule support.   Also thanks  to Thomas Bernard who created miniupnpd.

Comments, questions, please!

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5992baf0608201838q270678e1k936f6aae2f82a9d>