Chromecast devices are discoverable on the network via the mDNS protocol and that works well when all devices are on the same network. Things start to break down though if the Chromecast devices and the clients that would like to cast to them (phones, PCs, etc.) are on different subnets. In that case the clients cannot “see” the Chromecast devices to cast to.

The issue is that mDNS is a broadcast protocol and the mDNS packets have a TTL of 1, which means that they are not routable and they do not get propagated anywhere outside of the local subnet.

In order to fix this issue, we need to find a way to re-broadcast the mDNS packets from one subnet to the next. In pfSense we can do this with the Avahi package:

  1. Install Avahi

    In pfSense, go to System -> Package Manager -> Available Packages, search for “Avahi” and then hit the “Install” button next to it.
  1. Configure Avahi

    Go to Services -> Avahi

    Enable the Avahi deamon, the action should be “Allow Interfaces” and make sure that all the desired interfaces and VLANs are listed in the “Interfaces” input box. Then enable the “Repeat mdns packets across subnets” option. That should open another block titled “Reflection Filtering”. In that box we need to put in the mDNS service names to be allowed to be replicated. Google Chrome devices use the _googlecast._tcp.local service name, so enter “_googlecast._tcp.local” in the “Service” box. If you have other services that you would like to allow advertising/discoverablility for (e.g. printers), hit the “Add” button and enter the desired service name in the next “Service” input box. Here is how this looks in my case:
Setup Avahi service on pfSense to handle mDNS for Chromecast devices.
Setup Avahi service on pfSense to handle mDNS for Chromecast devices.

Once done, hit “Save” and then restart the service by clicking the restart red arrow button at the top right.

Now the Chromacast devices should be discoverable by the clients on your other networks. You should be able to cast different application content, like YouTube, Pocket Cast etc.

If you want to be able to video stream to the Chromecast devices from the other networks as well, for example casting devices screens or browser tabs, then the Chromecast devices need to be able to reach the source devices over TCP/5556 and TCP/5558.

To do that you need to add a rule to your interface where the Chromecast devices are on to allow them to reach the other network(s) over TCP on these two destination ports.

But first, it is better to create an alias with the two ports that later will be used by the new firewall rule. That is not mandatory and not the only way to do this, but in my opinion is a cleaner and more future proof option than the alternatives. It just makes things so much easier to read and maintain.

Go to Firewall -> Aliases -> Ports and the “Add” button. Give the alias a name and description and pick “ports” from the Type drop down, then enter the two ports and hit “Save”:

Add an alias entry in pfSense for the two Chromecast video streaming ports.
Add an alias entry in pfSense for the two Chromecast video streaming ports.

Now we are ready to add a firewall rule that will use this alias.

Go to Firewall -> Rules and pick the interface for the network/VLAN where your Chromecast devices reside and hit the “Add” button with the arrow pointing up in order to add a new rule at the top. In most cases there will be block rules following this rule, so we need to ensure that this rule will be reachable. In this new rule we could be very restrictive and specify the IPs of each individual Chromecast device in the source of this rule as well as specify individual IPs on the other networks that will be steaming the videos, but I think this is an overkill unless there is a specific concern or need. Having any source to any destination over these two ports will probably be all that is needed.

In my case, the interface for the Chromecast devices and other IoT devices is named “OPT1GUEST”. I have allowed any source on that network to reach all my private networks over TCP on these two ports:

Add a firewall rule in pfSense to allow TCP traffic on the two Chromecast video streaming ports.
Add a firewall rule in pfSense to allow TCP traffic on the two Chromecast video streaming ports.

The “MyPrivateNetworks” above is an alias that contains the network ranges of all my private networks (you can pick “any” here in most cases) and the “PortsChromecastVideosPorts” is the alias we created above with the two ports defined.

Additional resources: Configuration document from Cisco on setting up mDNS service for Chromecast devices

Configure pfSense for Chromecast Across Subnets/VLANs
Tagged on:                 

117 thoughts on “Configure pfSense for Chromecast Across Subnets/VLANs

  • September 8, 2025 at 1:46 pm
    Permalink

    ??????? ?? ??????????? https://safety-skills.ru ???????????? ?????? ?????? ? ???????? ?????????, ???????? ???? ? ????????????. ???????????????? ??????? ??????? ??????? ?????? ??????, ????? ? ??????? ????????????.

  • September 8, 2025 at 1:50 pm
    Permalink

    ????????? ??????-???????? https://craftsmm.ru ????? ?? ??????????, ???????? ? ??????? ??? ???????? ? ??????????????. ??????? ??????????? ??????????? ???????????, ????????? ??????? ? ?????????? ??????? ? ??????? ???????.

  • September 8, 2025 at 3:07 pm
    Permalink

    ????????? ???????? ?? ????? https://vasdiplom.ru ?????? ????????? ? ?????????? ???????? ?????. ????????? ??????, ???????? ?? ???????????? ? ?????? ???????????? ?????????? ??????? ?????????.

  • September 8, 2025 at 7:32 pm
    Permalink

    ???? ??? ????? ???????????? ?????? ???????|??????? ? ??????|??????? ??????|??????????? ????????|??????????? ???????? ? ??????|??????????? ???????? ??????|???????? ???????|??????????? ??????|??????? ?????? ??????|?????? ????????|?????? ???????? ? ?????? ???? ?? ??????|??????? ???|??????? ???????? ? ??????|??????? ??????|???????? ??????? ? ??????|??????? ? ?????? ????|??????? ????????|???? ??????????? ????????|???? ????????, ?? ?????? ?????????? ??? ?????? ???????!
    ?? ????????? ????????, ????? ?????? ?????? ???????????? ? ?? ????? ????.

  • September 8, 2025 at 8:09 pm
    Permalink

    ?????? ??? ??? ???????, ???????????.
    ????? ?????????? ?????????????? ???????, ? ????? ?????.
    ????? ??????? ?????????? ?????????????? ???????, ???????? ??? ??????.
    ???-5 ??? ??? ?????? ???????, ? ?????????????????? ??????.
    ??? ??????? ????????? ???????? ?????????????? ???????, ?????.
    ??? ?? ????????? ??? ?????? ???, ?????????????.
    ????? ?????????? ?????????? ?????????????? ???????, ? ???????.
    ??? ???????? ???????? ?????????????? ???????, ???????.
    ??? ???????? ???? ?????? ????????? ?????????????? ???????, ???????? ??????.
    ??? ?????? ? ???? ???, ???????.
    ??? ????????? ?????????? ???, ? ????? ????.
    ????????? ????????? ?????????????? ??????? ??? ???????, ???????.
    ???????????? ?????? ?? ?????? ?????????? ?????????????? ???????, ???????.
    ??? ? ????????? ????? ?????????? ?????????????? ???????, ???????.
    ?????? ?? ??????? ?????????? ?????????????? ???????, ?? ?????.
    ????? ????????????? ?????????? ?????????????? ???????, ???????.
    ??? ???????? ???? ?????? ???, ? ??????.
    ??????? ?????? ??? ??? ????????, ???????.
    ???-10 ?????????? ?????????????? ??????? ?? ?????, ?????.
    ??? istochniki-bespereboynogo-pitaniya.ru .

  • September 8, 2025 at 10:02 pm
    Permalink

    If you are looking for an experienced next.js developer|next js developer|next developer|next developer freelancer|next freelancer|next js freelancer|hire next.js developer|freelance next.js developer|remote next.js developer|next.js full-stack developer|next.js developer for hire|custom next.js development|next.js website developer|next.js expert freelancer|next.js web app developer|next.js ssr developer|next.js seo expert|next.js performance optimization|next.js developer portfolio|next.js development services|next.js developer available|hire freelance next.js developer|experienced next.js developer|next.js + react developer|full-time next.js freelancer,who can create a high-performance and scalable website using Next.js technology, you can find the right specialist offering a wide range of development services on this platform.
    Next.js provides a robust set of features for developing complex web projects. With its ability to handle server-side rendering and static site generation, it has become a go-to choice for developers looking to create fast and efficient web applications. The demand for skilled Next.js developers is on the rise .

    As a result, many developers are looking to acquire Next.js skills . With the right skills and knowledge, developers can build high-performance websites that provide a great user experience . Next.js developers are in high demand, and they can command high salaries and benefits .

    Key Skills for Next.js Developers
    To become a successful Next.js developer, one needs to have a solid grasp of programming concepts and experience with Next.js. This includes proficiency in JavaScript and React, as well as knowledge of HTML, CSS, and other front-end development tools . A good Next.js developer should also have the ability to work well in a team and communicate effectively with colleagues.

    In addition to technical skills, Next.js developers should also have a good understanding of web development best practices . This includes knowledge of accessibility and user experience . By possessing these skills and knowledge, Next.js developers can leverage the power of Next.js to create complex web projects.

    Next.js Developer Job Responsibilities
    the role of a Next.js developer involves a range of tasks and activities . This includes creating fast and scalable web applications using Next.js . Next.js developers are also responsible for ensuring web security and accessibility.

    In addition to these technical tasks, Next.js developers may also be involved in communicating with stakeholders and clients. They may also be responsible for attending conferences and workshops . By fulfilling these responsibilities, Next.js developers can leverage the power of Next.js to create complex web projects.

    Future of Next.js Development
    The future of Next.js development looks bright, with a wide range of job opportunities available for Next.js professionals. As the web development landscape continues to evolve, Next.js will continue to be a popular choice for building fast and scalable web applications . With its ability to handle server-side rendering and static site generation, Next.js is poised to become a leading framework for building high-performance websites .

    As a result, the demand for Next.js developers is expected to continue growing in the future . By acquiring Next.js skills and knowledge, developers can create high-quality web applications that meet the needs of users . With the right skills and knowledge, developers can command high salaries and benefits .

  • September 8, 2025 at 11:49 pm
    Permalink

    ??????????? ??????? ???????? ???????? — ? ? ????????? «T-Pay» ? «??????» ?? ?????? ?????????? ?????? ? ????????? ??? ????? ????????. Augustdigital.ru
    ??? ????????-???????? ??????? ??????? ?????????? ??? ??????? ??? ??????? ? ?????? ?????
    . ??? ???????
    ??? ?????? (??????-????????????) 90% ???? ??????-????? ?????????, ?????? ??? ?????????? ???????? ?? ???? ? ?????. Augustdigital.ru ?????????? «T-Pay» ? «??????» ??? ??????? ? ?????? ??????
    . ?-???? ???????? ?????? ?? 5 ??????, ????????? ID ???????. ??? ? ?????? ?????? ??????
    ??? ??????? ??????????? ???????? ???? ??????? ?? 30% ?? ???? ?????????? ?????? ? ??????? ?????????. ???????
    ??? ???????????? : ?????? ???????, ???? ??????? ??? ? ?????? ????????? ???????.

  • September 9, 2025 at 6:25 am
    Permalink

    Want to have fun? hack apk Whores, drugs, casino. We have it all, any drugs are on sale.

  • September 9, 2025 at 7:35 am
    Permalink

    ??????????? ????? ???|seo ?????????? ?????|seo ?????????? ????????|seo ????? ??????|???? ???|seo ???????? ? ????|???? seo|seo ????|seo ??????????? ????|???????? seo ? ???? ????????????? ??????????? ?????? ? ?????? ? ??????? ??????????? ?????? ??? ????????? ??????, ??? ???????? ????????? ???????? ????????? ?????????? ? ??????????? ??????-???????.
    ????? ?? ??????????? ?????? ??? ????????? ?????? ???????? ??????? ???????????? ????? ??????????? ? ????????????, ??????????? ???????? ???? ??????-????????? . ??? ??????? ? ???, ??? ?????????????? ????? ? ????????? ??????????? ????????? ?????? ??????? ?? ??? ???????????? ?, ??? ?????????, ?? ?????????? ?????????? ???????. ?????? ????????? ???????? SEO, ??????? ???????? ??????????? ??????? ??????, ??? ???????? ????????? ??????????? ? ??? ?? ????????? ??? ????????? ???????? ?????.

    ?????????????????? ????? ?? SEO ???????? ? ???? ????????????? ????, ??????? ?? ??????? ??????????? ???????? ???? ? ?????????? ??????????? ??????????? ????? ????? ?????? . ???????, ??????????? ?? ?????? ?? SEO, ?????? ???????? ???????????????????????? ?????????????, ??????? ???????????? ???????????? ? ?????????????? ? ???????? ?????? ?? ????? ??????.

    ?????? SEO
    ???????? ???????? SEO ???????????? ?????? ?????????? ?????????? ? ???????????? ?????? ?????????? ?????????, ? ????? ?????? ????????? ??? ?????? ?? ???????? . ????? ???????? ????, ??????????????? ????? ? ?????????? ?????, ???????? ????????? ????? ? ????? SEO-?????????. ???????????? ? ????????????? ??????? ???????? ????? ?? ????? SEO, ????????? ?? ?? ?????? ??????????, ?? ? ?????????? ?????????, ?????????? ????? ?????????? ?? ?????.

    ?????????? ???????????? ?????? ? ?????? ?????? ????? ???????? ?????? ???????? SEO, ????????? ??? ???????? ???????? ????????? ? ??????? ????? . ????? SEO ????, ??? ????????????? ????? ??????????? ? ???????????? ??? ?????????? ??? ????????? ????? ??????????? SEO-????????? .

    ??????????? ??????? SEO
    ??????????? ??????? SEO ???????? ? ???? ????????????? ???????????? ??? ??????? ?????? ? ???????????? ????????? ? ?????????? ????????? ?????? . ???? ?? ??????????? ???????? — ??? ?????????? ?????????? ??????????????? ??????, ??????? ?????? ? ???????????, ????-?????????? ? ??????? ??????????, ????????? ?? ??????? .

    ?????????????????? ????? ?? SEO ???????? ? ???? ???????? ???????? ?????????? ?????????? ????? ??? ????????? ???????????? ?????? ? ??????????? ????? ??????????? . ?????????? ????????????? ???????????? ??? ??????????? ???????????? ? ????????? ????????????? ?? ????? ???????? ?????? ????????? SEO, ??????????? ??????? ????????????? ?????????? ???????? .

    ?????????? ? ????????? SEO
    ?????????? ????? ?? SEO ? ??? ??????????? ????????? ???????? ? ???? ?????????? ???????? ??? ???????????? ? ?????? ?????? ??? ?????????????? ???????? ????????? ? ??????????? ????????? . ?????????????????? ????? ?? SEO ???? ??????????? ??????????? ? ??????????? ??????? SEO-?????????, ??????????????? ?????????? ???????????? ? ????? ???????? .

    ?????????? ????????????????? ?????? ? ?????? ? ??????? SEO ???????? ???????? ???????? ??????????? ? ????????? ??????? ?????, ????????? ????????? ????????? ???????????????? ? ???????????. ?????????????????? ????? ?? SEO ????????? ?????????? ???? ? ????? ???? ????????? ???????? ? ????????? ? ????????? ??????????, ??? ????????? ?? ?????????? ?????????????? ???? ????????? .

Leave a Reply

Your email address will not be published. Required fields are marked *

*