Page 1 of 1

Opening ports on Mac with Serviio v 1.5.1

PostPosted: Sat Mar 21, 2015 7:40 pm
by davidw1234
Hi, I have done a completely new install of Serviio 1.5.1 on MAc OSX Yosemite (i.e. v 10.10.2) I can't see how to set the OS X Firewall to allow Serviio to accept connections through the ports it needs. In other words I can't find the Serviio "application" to add to the list.

Anyone any ideas. V1.5 seems to a big change on Mac.

Re: Opening ports on Mac with Serviio v 1.5.1

PostPosted: Sun Mar 22, 2015 1:46 pm
by davidw1234
OK, I have discovered a solution. Now I would like someone to say whether this is safe or not!!! I have added the following "application" to the OS X Firewall's list of applications that are allowed incoming connections:

Library ▸ Application Support ▸ Serviio ▸ jre ▸ Contents ▸ Home ▸ bin ▸ java

This may help others, but I really don't know how safe it is. I'm trying to work out whether it's opened more ports than Serviio requires, or just " port 8895 and UDP 1900"

The instruction "Also make sure that TCP port 8895 and UDP 1900 are open in your firewall." sounds easy, but I found it tricky to follow on Mac OS X!!!

Re: Opening ports on Mac with Serviio v 1.5.1

PostPosted: Mon Mar 23, 2015 8:24 pm
by zip
Haven't tried, but google gave me this: http://apple.stackexchange.com/question ... s-x-10-9-4

Re: Opening ports on Mac with Serviio v 1.5.1

PostPosted: Mon May 11, 2015 2:14 pm
by andrusz
davidw1234 wrote:... I really don't know how safe it is.

It is not! This way intruders have access to all java programs on your Mac. However it is better than no firewall at all ;)

Also make sure that TCP port 8895 and UDP 1900 are open in your firewall." sounds easy, but I found it tricky to follow on Mac OS X!!!

You have to use pf (Packet Filter) firewall which is disabled by default in OS X. To use it you need:
1. (optional) disable application firewall
2. allow ports in /etc/pf.conf for default network services like DNS or file sharing
3. allow any other ports which are required by your applications
4. allow Serviio ports (tcp 8895 and udp 1900)
5. start PF firewall

So there is quite a work to do and if you are not familiar with PF firewall it may be difficult. I recommend to use and customize somebody's else tested pf rules. I am working on mine and if you are interested I can put them here later, after testing?

Regards,
andrusz