Dear Community,
I am Max and new to this forum. I hope this is the right section for my question.
I am a trainee in an IT Company in Germany. I have to setup an Avahi bonjour Gateway for our Apple TV's.
Here are some fakts:
We have different VLAN's for example 1-server, 2-client, 3-infrastucture, 4-Employes, 5-Guest.
V-LAN 3 contains the Apple-TV's
In VLAN 1 is a kvm virtual rhel6.4 server with avahi running on our hypervisor.
The server has a bond in every Vlan.(eth0-4)
The avahi-daemon is configured like this (removed the outcommented stuff:
Quote:
[server]
browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=no
allow-interfaces=eth2,eth3
deny-interfaces=eth0,eth1,eth4
[wide-area]
enable-wide-area=yes
[publish]
publish-workstation=no
[reflector]
enable-reflector=yes
[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=300
rlimit-stack=4194304
rlimit-nproc=3
|
I also configured iptables like that:
Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:mdns source IP range 10.9.50.1-10.9.50.250 #Apple TV Vlan
ACCEPT udp -- anywhere anywhere udp
LOG all -- anywhere anywhere LOG level warning
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
|
What it should do: Taking the apple bonjour-broadcast-crap from VLAN3 an rediredting it to 4 ,5 ,2.
What it is doing: Just redirecting it to 2 and only 1 Apple TV not every one.
My Question is:
Am i doing something wrong or is this not suposed to work like that? Someone here who successfully set up something like taht ?
Thanks for reading
Mfg Max.