Reply To: WindowXP firewall (which ports)


@gsallen wrote:

I’ve got an interesting problem.

Installed Firefly on a Windows 64 box.
Ports 3689 TCP and 5353 UDP are passed by the firewall.

Linux machine can connect just fine.
Windows XP laptop can’t connect. It can see the share, but can’t connect to it.

Disable firewall on windows 64 machine, suddenly the laptop connects.
If I use the iTunes sharing, the laptop connects perfectly.

Here’s the log from the firewall of a connection attempt:
2007-08-21 18:51:26 OPEN-INBOUND TCP 4330 3689 – – – – – – – – –
2007-08-21 18:51:40 DROP UDP 68 67 328 – – – – – – – RECEIVE
2007-08-21 18:52:36 CLOSE TCP 3689 4330 – – – – – – – – –

Anyone have any clues? Are there some magic ports I don’t know about?

That drop is DHCP, so that isn’t it. If you could what’s dropped, that might help. Also, pushing logging up to 9, trying to connect, then examining the log might help also.

As far as firewall goes, it sounds like you have it. You need:

Inbound TCP 3689 for web admin and daap transfer
Outbound UDP to dport 5353 for mdns advertisements
Inbound from dport 5353 for mdns queries

That’s it. Sometimes firewall rules get set up only for local hosts and forget (being multicast) should be a local net, but that’s the only real gotcha I can think of.

— Ron