What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Using Avahi to cast to a PyChromeCast on another subnet

p1r473

Regular Contributor
Hey! Thanks for reading my thread
Im trying to use PyChromecast from my primary LAN network to a Chromecast in my IOT network. I am trying to increase my network security and put my IOT devices in a separate network
I have got it to the point where I can ping the Chromecast. I was able to use PyChromecast's --known-host feature and specify the IP address manually but what I really want to get working is the mdns discovery.
Discovery with PyChromecast is not working: "No chromecast with name "Bedroom Home Hub Max" discovered "


IGMP Snooping is enabled on all of my wireless frequencies
Enable multicast routing is enabled
For testing, Ive tried both enabling access to intranet and also trying to make an IPTable rule for testing `iptables -I FORWARD -s 192.168.53.0/24 -d 192.168.1.0/24 -j ACCEPT`
I added to /jffs/configs/avahi-daemon.conf.add and rebooted mdns with service restart_mdns
Code:
[reflector]
enable-reflector=yes

cat /tmp/avahi/avahi-daemon.conf

Code:
[Server]
host-name=PortRoyal
aliases=GT-BE98_Pro
aliases_llmnr=GT-BE98_Pro
use-ipv4=yes
use-ipv6=no
deny-interfaces=vlan4094
ratelimit-interval-usec=1000000
ratelimit-burst=1000

[publish]
publish-a-on-ipv6=no
publish-aaaa-on-ipv4=no

[wide-area]
enable-wide-area=yes

[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=768
rlimit-stack=4194304
rlimit-nproc=3
[reflector]
enable-reflector=yes
 
Should I be putting the iptable rules in nat-start or services-start or other? Neither seem to be running at boot, I have to run the iptables rule manually to get it to work
iptables -I FORWARD -s 192.168.53.0/24 -d 192.168.1.0/24 -j ACCEPT
 
FORWARD rules need to use the firewall-start script.

P.S. Make sure JFFS scripting is enabled under Administration->System as well.
 
Hey eibgrad thanks so much!
So I have the rule in the firewall-start script, I reboot, and ... crickets. I give it 2 min and nada
Once I run the script manually, everythings works, but any clue why the IPTable rules wont run at boot in firewall-start?
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top