Two subnets on two interfaces



  • I have 192.168.90.0 on LAN and 192.168.70.0 on OPT1 (WiFi)

    Now my roku is on OPT1 and when I try using media player it won't find my videos that are on LAN subnet.

    How can I make this to work?

    Thx



  • Use just one subnet.  Some multimedia service use multicasts, which generally don't pass throuh routers.



  • This is because pfSense doesn't pass the multicast mDNS and SSDP to locate to locate devices and services between subnets.
    You can install the Avahi package, and enable it on your LAN and OPT1 interfaces (default is enabled, you can deny certain interfaces if you want).

    That should help.



  • @awebster:

    This is because pfSense doesn't pass the multicast mDNS and SSDP to locate to locate devices and services between subnets.
    You can install the Avahi package, and enable it on your LAN and OPT1 interfaces (default is enabled, you can deny certain interfaces if you want).

    That should help.

    Thx @awebster
    Installed and enabled Avahi, but so far it does not work.  I just checked "enabled" and did not change any other options.



  • Why do you have WiFi on a separate subnet?  I used to do that back in the days of WEP and it's poor security.  With WPA2, that's no longer an issue.



  • @JKnott:

    Why do you have WiFi on a separate subnet?  I used to do that back in the days of WEP and it's poor security.  With WPA2, that's no longer an issue.

    Well, you are right in general.  My initial thought was to physically isolate subnets, but more importantly learn different combinations, so I can understand better how to use pfSense :)



  • You might need a firewall rule to allow to work.
    Try adding an allow from OPT1 to any rule.



  • @awebster:

    You might need a firewall rule to allow to work.
    Try adding an allow from OPT1 to any rule.

    I actually already have it



  • @chudak:

    @JKnott:

    Why do you have WiFi on a separate subnet?  I used to do that back in the days of WEP and it's poor security.  With WPA2, that's no longer an issue.

    Well, you are right in general.  My initial thought was to physically isolate subnets, but more importantly learn different combinations, so I can understand better how to use pfSense :)

    Back when I used a separate network for WiFi, I had it outside of my firewall and used a VPN to access my network.  You learn stuff that way.  But while I used it for security, in your case it's simply in the way.



  • Hmmm, it should be working;

    You can try running: avahi-browse -a -c from the CLI or the Diagnostics->Command Prompt
    It should list all devices and services that can be seen.  If you get no output, maybe avahi isn't running?



  • @awebster:

    Hmmm, it should be working;

    You can try running: avahi-browse -a -c from the CLI or the Diagnostics->Command Prompt
    It should list all devices and services that can be seen.  If you get no output, maybe avahi isn't running?

    hmm, I don't see devices https://paste2.org/0WY8YZa9



  • @awebster:

    Hmmm, it should be working;

    You can try running: avahi-browse -a -c from the CLI or the Diagnostics->Command Prompt
    It should list all devices and services that can be seen.  If you get no output, maybe avahi isn't running?

    What is interesting that  avahi-resolve-host-name -a <roku_ip>resolves  the host!

    hmm no clue  >:(</roku_ip>


  • Rebel Alliance Global Moderator

    Are you trying to use media player channel on the roku?  I have a roku, I just use plex channel to play all my videos - but have used the media player to play usb stuff connected to the roku.  I assume your trying to find some smb share?

    Be happy to try and duplicate what your doing if had some more details.. I run multiple vlans on my network with roku's being on their own from the rest of my network.. I have 2 sticks and a roku 4.

    Your trying to use this right
    https://channelstore.roku.com/details/2213/roku-media-player



  • @johnpoz:

    Are you trying to use media player channel on the roku?  I have a roku, I just use plex channel to play all my videos - but have used the media player to play usb stuff connected to the roku.  I assume your trying to find some smb share?

    Be happy to try and duplicate what your doing if had some more details.. I run multiple vlans on my network with roku's being on their own from the rest of my network.. I have 2 sticks and a roku 4.

    Your trying to use this right
    https://channelstore.roku.com/details/2213/roku-media-player

    Yes I am trying to use this channel.

    The question is not "how to run videos", I use Plex too.
    The question is "WTH it's not working?"  ;)


  • Rebel Alliance Global Moderator

    what is not working, you can not find your plex when is on a different segment?  Or your trying to use some other media server.. It supports plex, twonky, etc.



  • @johnpoz:

    what is not working, you can not find your plex when is on a different segment?  Or your trying to use some other media server.. It supports plex, twonky, etc.

    When I try using media player it won't find my videos that are on LAN subnet.
    Installed Avahi and still no love.  Wonder if Roku has some options to force it


  • Rebel Alliance Global Moderator

    If you use plex why would you not just use the plex channel?  And then just point it at your plex IP with opening that 32400 port on your firewall from the segments you want to allow access from  This is how I do it, no issues.. from any of my wifi segments.  Other than guest - which does not have access.



  • @johnpoz:

    If you use plex why would you not just use the plex channel?  And then just point it at your plex IP with opening that 32400 port on your firewall from the segments you want to allow access from  This is how I do it, no issues.. from any of my wifi segments.  Other than guest - which does not have access.

    I get it about Plex!  But it's not about Plex.

    I just want to understand why media channel is not resolving other subnet host?


  • Rebel Alliance Global Moderator

    I am not sure what that media player uses, is using dlna or plex's gdm?

    Not sure why its not about plex ;)  Your wanting to watch your media from your plex are you not?  Across a subnet these discover protocols fail.  They are designed for your typical home network that is flat - one broadcast domain, ie 1 layer 2 network.. Trying to get it work is going to be PITA most of the time.

    The simple solution is to just go direct to the plex server IP or fqdn and open the 32400 between the segments you want to allow to access.  This takes all of 10 seconds to setup, and works all the time, every time ;)

    If you don't want to do that - then just put the plex on the same L2 that your devices you want to "discover" it are on.