IPCop and iTunes

robmk

n00b
Joined
May 11, 2008
Messages
3
I'm having trouble sharing iTunes libraries over my Green and Blue networks using IPCop, can anyone offer any advice? Searched everything I could find on IPCop, FreeNAS, daapd, itunes and still can't seem to get this working.

From my IPCop box I have a green and blue network setup with Zerina OpenVPN.

A FreeNAS server is on the green network at 192.168.2.100, and uses mt-daapd to share a directory to iTunes users on green with ports TCP 3689 and UDP 5353. I can access the library and play music from other computers on the green network without a problem.

However, when I'm on the blue network using a laptop, I want to be able to access the same library from iTunes without using a VPN set up. I tried setting up DMZ pinholes for both ports that iTunes and mt-daapd use, but I still can not see the shared library from my laptop on blue.

The FreeNAS server can ping hosts on both green and blue. Anyone have an idea?
 
Bump,

Anyone? I know blue is a totally separate network from green in IPCop, but there has to be a way to allow sharing though iTunes over both.
 
iTunes music shares (DAAP) rely on UDP broadcasts going to an avahi/zeroconf service, which may be needed to run on both blue/green interfaces. it basically announces devices to the network, so you need to run it on both blue/green subnets and those particular interfaces

if you can find an avahi module for ipcop, i'd use that. however, you're likely going to have to use a real, honest working linux service and set up & open ports for it by hand to the UDP multicast address on UDP port 5353, for each of the interfaces.

e.g.
$IPT -A INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
$IPT -A OUTPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT

hope that helps.

as for bouncing DAAP traffic between blue/green, you have to set a rule between subnets for that UDP broadcast traffic, and also for the TCP traffic between the subnets so the clients can actually browse/download from the itunes DAAP server.

iptables should be able to forward the packets, though im not sure how ipcop handles packet forwarding between subnets/zones in it's UI. definitely something to ask in the ipcop forums.
 
Back
Top