<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Everyone has an opinion &#187; freebsd</title>
	<atom:link href="http://www.derekjhunt.org/blog/tag/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekjhunt.org/blog</link>
	<description>Thoughts and rants about UNIX, music, film and politics.</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:21:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Enable UPNP Under FreeBSD</title>
		<link>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/</link>
		<comments>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 14:36:33 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[miniupnpd]]></category>
		<category><![CDATA[pf]]></category>
		<category><![CDATA[upnp]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=67</guid>
		<description><![CDATA[build and install from ports (/usr/ports/net/miniupnpd) Add this to your /etc/rc.conf miniupnpd_enable="YES" Next add a few things to your /etc/pf.conf rdr-anchor "miniupnpd" anchor "miniupnpd" pass out on $int_if from any to 239.0.0.0/8 keep state pass in on $int_if from any to 239.0.0.0/8 keep state Also change your NAT entry to add static-port nat on $ext_if [...]]]></description>
			<content:encoded><![CDATA[<p>build and install from ports (/usr/ports/net/miniupnpd)</p>
<p>Add this to your /etc/rc.conf<br />
<pre>miniupnpd_enable="YES"</pre><br />
Next add a few things to your /etc/pf.conf<br />
<pre>rdr-anchor "miniupnpd"
anchor "miniupnpd"</pre><br />
<pre>pass out on $int_if from any to 239.0.0.0/8 keep state
pass in on $int_if from any to 239.0.0.0/8 keep state</pre><br />
Also change your NAT entry to add static-port<br />
<pre>nat on $ext_if from $int_if:network to any -> ($ext_if) static-port</pre><br />
I tested from functionality from a couple OSX boxes with the following:<br />
<pre>dns-sd -X udp 123 456 789</pre><br />
If upnp is working, it should return an address:<br />
<pre>mifune:~ djh29$ dns-sd -X udp 123 456 789</pre><br />
<pre>Timestamp     if   External Address     Protocol        Internal Port   External Port   TTL  
10:32:20.589  0    70.90.241.189        16              123             0               0    
^C
mifune:~ djh29$</pre><br />
I fought with this thing for awhile before I realized  that the multicast address rules were necessary under FreeBSD (per the INSTALL doc for miniupnpd).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.derekjhunt.org @ 2012-02-05 05:20:20 -->
