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

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/20/06, Scott Ullrich <sullrich@gmail.com> wrote:
> 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
>

Sorry, I almost forgot that you need to stick two anchors in your
pf.conf file.. One for rdr and one for pass rules:

# UPnPd rdr anchor
rdr-anchor "miniupnpd"

# uPnPd
anchor "miniupnpd"

Scott



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