{"id":716,"date":"2019-08-17T19:00:10","date_gmt":"2019-08-17T22:30:10","guid":{"rendered":"http:\/\/blog.pelleys.com\/?p=716"},"modified":"2019-08-17T19:00:19","modified_gmt":"2019-08-17T22:30:19","slug":"dlna-pfsense-and-igmp-proxy-nope-use-pimd","status":"publish","type":"post","link":"https:\/\/blog.pelleys.com\/?p=716","title":{"rendered":"DLNA: pfSense and IGMP Proxy &#8211; nope, use pimd"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is more of a note to myself than a real post&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have different subnets and want to use a DLNA-based media server it will not work. This is correct by design! DNLA is a <em>local network<\/em>, <em>broadcast<\/em> protocol! But, if you have the need it can be done by using an IGMP proxy to pass the network broadcasts across subnets; effectively &#8220;routing&#8221; it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unfortunately, it is broken on pfSense since, it seems, 2.2.<em>x<\/em>. I even downloaded the most recent version and it still did not work. There is an alternative, pimd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pimd has to be manually installed and configured on the command line (i.e., ssh into your pfSense box). It is not hard to install or configure. My pimd.conf is simple:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> phyint igb0 disable\n phyint igb1 disable\n phyint igb2 disable\n phyint igb3 disable\n phyint igb4 disable\n phyint igb5 disable\n phyint igb3.30 enable\n phyint igb3.100 disable\n phyint igb3.25 enable\n phyint igb3.20 enable\n phyint igb3.201 disable\n phyint ovpns1 disable\n phyint ovpns2 disable\n #bsr-candidate igb3.20\n bsr-candidate priority 5\n rp-candidate time 30 priority 20\n group-prefix 224.0.0.0 masklen 4\n spt-threshold packets 0 interval 100<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You only need to disable any physical interfaces or VLANs where you don&#8217;t want DLNA broadcasts and enable the physical interfaces and VLANs where you do want DNLA broadcasts. I keep a backup copy in a directory since it is not an official package your configuration may be removed by an upgrade.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, since this is not an official package you need use shellcmd to enable automatic startup:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/sbin\/pimd -c \/usr\/local\/etc\/pimd.conf<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I put in feature request in pfSense&#8217;s redmine site to include pimd as a native package.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is more of a note to myself than a real post&#8230; If you have different subnets and want to use a DLNA-based media server it will not work. This is correct by design! DNLA is a local network, broadcast &hellip; <a href=\"https:\/\/blog.pelleys.com\/?p=716\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-716","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=716"}],"version-history":[{"count":0,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts\/716\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}