Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How can I get this UDP relay package for casting across VLANs?

    Scheduled Pinned Locked Moved pfSense Packages
    123 Posts 21 Posters 57.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GeorgeCZ58
      last edited by

      What is actual approach to install this package to 23.01?

      bitrotB 1 Reply Last reply Reply Quote 0
      • bitrotB
        bitrot @GeorgeCZ58
        last edited by bitrot

        @georgecz58 said in How can I get this UDP relay package for casting across VLANs?:

        What is actual approach to install this package to 23.01?

        Good question. I'd like to know this too. I still have it installed manually as per instructions in this post. The package doesn't appear to be available yet. Not sure what the status is. Bug report is here: https://redmine.pfsense.org/issues/10818

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          It's not been merged yet so you still need to fetch and install it manually:

          [23.01-RELEASE][root@4100.stevew.lan]/root: fetch https://redmine.pfsense.org/attachments/download/4621/pfSense-pkg-udpbroadcastrelay-1.0.pkg
          pfSense-pkg-udpbroadcastrelay-1.0.pkg                   12 kB 7983 kBps    00s
          [23.01-RELEASE][root@4100.stevew.lan]/root: pkg install pfSense-pkg-udpbroadcastrelay-1.0.pkg 
          Updating pfSense-core repository catalogue...
          pfSense-core repository is up to date.
          Updating pfSense repository catalogue...
          pfSense repository is up to date.
          All repositories are up to date.
          The following 2 package(s) will be affected (of 0 checked):
          
          New packages to be INSTALLED:
          	pfSense-pkg-udpbroadcastrelay: 1.0 [unknown-repository]
          	udpbroadcastrelay: 0.3.b [pfSense]
          
          Number of packages to be installed: 2
          
          15 KiB to be downloaded.
          
          Proceed with this action? [y/N]: y
          [1/2] Fetching udpbroadcastrelay-0.3.b.pkg: 100%   15 KiB  15.3kB/s    00:01    
          Checking integrity... done (0 conflicting)
          [2/2] Installing udpbroadcastrelay-0.3.b...
          Extracting udpbroadcastrelay-0.3.b: 100%
          [1/2] Installing pfSense-pkg-udpbroadcastrelay-1.0...
          [1/2] Extracting pfSense-pkg-udpbroadcastrelay-1.0: 100%
          Saving updated package information...
          done.
          Loading package configuration... done.
          Configuring package components...
          Loading package instructions...
          Custom commands...
          Executing custom_php_resync_config_command()...done.
          Menu items... done.
          Services... done.
          Writing configuration... done.
          
          T 1 Reply Last reply Reply Quote 0
          • T
            tman222 @stephenw10
            last edited by

            @stephenw10 said in How can I get this UDP relay package for casting across VLANs?:

            It's not been merged yet so you still need to fetch and install it manually:

            [23.01-RELEASE][root@4100.stevew.lan]/root: fetch https://redmine.pfsense.org/attachments/download/4621/pfSense-pkg-udpbroadcastrelay-1.0.pkg
            pfSense-pkg-udpbroadcastrelay-1.0.pkg                   12 kB 7983 kBps    00s
            [23.01-RELEASE][root@4100.stevew.lan]/root: pkg install pfSense-pkg-udpbroadcastrelay-1.0.pkg 
            Updating pfSense-core repository catalogue...
            pfSense-core repository is up to date.
            Updating pfSense repository catalogue...
            pfSense repository is up to date.
            All repositories are up to date.
            The following 2 package(s) will be affected (of 0 checked):
            
            New packages to be INSTALLED:
            	pfSense-pkg-udpbroadcastrelay: 1.0 [unknown-repository]
            	udpbroadcastrelay: 0.3.b [pfSense]
            
            Number of packages to be installed: 2
            
            15 KiB to be downloaded.
            
            Proceed with this action? [y/N]: y
            [1/2] Fetching udpbroadcastrelay-0.3.b.pkg: 100%   15 KiB  15.3kB/s    00:01    
            Checking integrity... done (0 conflicting)
            [2/2] Installing udpbroadcastrelay-0.3.b...
            Extracting udpbroadcastrelay-0.3.b: 100%
            [1/2] Installing pfSense-pkg-udpbroadcastrelay-1.0...
            [1/2] Extracting pfSense-pkg-udpbroadcastrelay-1.0: 100%
            Saving updated package information...
            done.
            Loading package configuration... done.
            Configuring package components...
            Loading package instructions...
            Custom commands...
            Executing custom_php_resync_config_command()...done.
            Menu items... done.
            Services... done.
            Writing configuration... done.
            

            @stephenw10 - with 23.01 having been released, any idea when this might become an official pfSense pacakge? Judging by the Redmine ticket it looks like the majority of the work has already been completed. Is more community testing needed?

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              It might just need a nudge. Let me see what I can do....

              1 Reply Last reply Reply Quote 0
              • QinnQ
                Qinn
                last edited by Qinn

                Just out of curiosity I tested it with a VM (Oracle) and ran into a php error

                PHP errors
                
                    PHP ERROR: Type: 1, File: /usr/local/pkg/udpbroadcastrelay/udpbroadcastrelay.inc, Line: 458, Message: Uncaught Error: Call to undefined function config_get_path() in /usr/local/pkg/udpbroadcastrelay/udpbroadcastrelay.inc:458
                    Stack trace:
                    #0 /usr/local/pkg/udpbroadcastrelay/udpbroadcastrelay.inc(202): udpbr_get_settings(true)
                    #1 /etc/inc/pkg-utils.inc(802) : eval()'d code(1): udpbr_resync()
                    #2 /etc/inc/pkg-utils.inc(802): eval()
                    #3 /etc/inc/pkg-utils.inc(928): eval_once('udpbr_resync();')
                    #4 /etc/rc.packages(76): install_package_xml('udpbroadcastrel...')
                    #5 {main}
                    thrown @ 2023-03-20 13:53:47 
                

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10

                  You should add that to the open redmine issue: https://redmine.pfsense.org/issues/10818

                  What version were you testing against there?

                  QinnQ 1 Reply Last reply Reply Quote 0
                  • QinnQ
                    Qinn @stephenw10
                    last edited by Qinn

                    @stephenw10 You mean Oracle VM or pfS version?

                    VirtualBox Graphical User Interface Version 7.0.6 r155176 (Qt5.15.2)
                    pfS 2.6.0 release CE

                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                    Firmware: Latest-stable-pfSense CE (amd64)
                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      The pfSense and pkg versions.
                      And also what exactly you did to trigger it. It seems to work as expected for me in 23.01.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ah, Ok. Note that the package build 26/12/2022 that's on the redmine is for 2.7 or 23.01 only right now.

                        1 Reply Last reply Reply Quote 0
                        • QinnQ
                          Qinn
                          last edited by

                          Missed out that one ;) try an install on the beta (2.7.0) soon

                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                          Firmware: Latest-stable-pfSense CE (amd64)
                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                          1 Reply Last reply Reply Quote 1
                          • T
                            tman222
                            last edited by

                            Looks like udpbroadcastrelay will be included as a pfSense package in 23.05 - great news!

                            https://www.netgate.com/blog/pfsense-plus-software-version-23.05-rc-now-available

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Yup:

                              Screenshot from 2023-05-11 11-57-14.png

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                tman222 @stephenw10
                                last edited by

                                @stephenw10 - that looks great! Do you know if it's possible to define more than two interfaces per udpbroadcastrelay instance in the pfSense package version? When running from the command line one can issue multiple -dev options to support more than two interfaces per instance. Thanks in advance.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Yes:

                                  Screenshot from 2023-05-13 22-03-29.png

                                  T 1 Reply Last reply Reply Quote 1
                                  • T
                                    tman222 @stephenw10
                                    last edited by

                                    @stephenw10 said in How can I get this UDP relay package for casting across VLANs?:

                                    Yes:

                                    Screenshot from 2023-05-13 22-03-29.png

                                    Awesome - looking forward to trying the package with the release of 23.05 and retiring the command line version I have been running since pfSense 2.4.5.

                                    bitrotB 1 Reply Last reply Reply Quote 0
                                    • T
                                      tman222
                                      last edited by

                                      Updated my original instructions post above to reflect that udpbroadcastrelay is now available as a package as of pfSense Plus 23.05.

                                      1 Reply Last reply Reply Quote 1
                                      • bitrotB
                                        bitrot @tman222
                                        last edited by

                                        @tman222 said in How can I get this UDP relay package for casting across VLANs?:

                                        Awesome - looking forward to trying the package with the release of 23.05 and retiring the command line version I have been running since pfSense 2.4.5.

                                        Same. To switch, do you simply, remove the commands from Shellcmd, install the package and setup from the GUI? Or do we also have to uninstall the cli udpbroadcastrelay package that was installed from ports first?

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          If you install the pfSense package it would normally pull in the udprelay pkg as a dependency. Since you already have it installed I expect it will simply not do that. You should not need to remove it.

                                          bitrotB 1 Reply Last reply Reply Quote 0
                                          • bitrotB
                                            bitrot @stephenw10
                                            last edited by

                                            @stephenw10 said in How can I get this UDP relay package for casting across VLANs?:

                                            If you install the pfSense package it would normally pull in the udprelay pkg as a dependency. Since you already have it installed I expect it will simply not do that. You should not need to remove it.

                                            Thanks. This worked for me.
                                            Here are the steps I took.

                                            1. make a manual backup of my configuration
                                            2. make another manual backup of my configuration via "Auto Config Backup"
                                            3. Installed the UDP Broadcast Relay package from the web interface
                                            4. Added the instances but left them disabled. Also left the service itself disabled for now.
                                            5. removed the instances I previously added via Shellcmd
                                            6. rebooted the firewall
                                            7. enabled the UDP Broadcast Relay service from the web gui and enabled the instances I had added in step 4 above

                                            Works as expected. Huge thanks to everyone who made this happen!!!

                                            1 Reply Last reply Reply Quote 2
                                            • R RickyBaker referenced this topic on
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.