ipfw, iTunes and syslog

Hi,
I've added my own ipfw rules, but now I can't get Apple Remote (from iPhone) to work. It reports that it cannot connect because there are some firewall rules (sic!).

I've enabled iTunes'es listening port (3869), allowed anything to 244.0.0.0/4 to go in, and allowed traffic going to 255.255.255.255:9. Unfortunately, still nothing...

Also, I can't get ipfw to log into /var/log/ipfw.log. I've tried:
ipfw.* /var/log/ipfw.log
in /etc/syslog.conf, but it doesn't work.

Any hints?

MacBook Pro, Mac OS X (10.5.5)

Posted on Nov 4, 2008 2:06 PM

Reply
4 replies

Nov 5, 2008 3:01 AM in response to Tim Haigh

Tim Haigh wrote:
Did remote login work prior to setting up IPFW rules?


It is not Apple Remote Login, I'm talking about Apple Remote (you know, that useful app for iPhone/iPod, which lets you control iTunes on your laptop).

ipfw.* /var/log/ipfw.log

It does not follow the correct synstax "ipfw.*" is not a command.


It does. As I stated in my email, it is a line from /etc/syslog.conf, not a command line for the Terminal.

If you want to look at your IPFW logs use the command
tail -f /var/log/ipfw.log


It always shows an empty file.

It would be a good idea you use an application such as water roof to configure the IPFW firewall.


Tried, there is no button/option which says - enable iTunes Remote :/

Cheers,
Nikola

Nov 5, 2008 3:13 AM in response to nikkne

It is not Apple Remote Login, I'm talking about Apple Remote (you know, that useful app for iPhone/iPod, which lets you control iTunes on your laptop).


Regardless of whether it is iphone remote or remote login to rule out the firewall being an issue can you confirm it works when you have no ipfw rules in place.

It always shows an empty file.


ok try

cat /var/log/ifpw.log


Tried, there is no button/option which says - enable iTunes Remote :/


What port does the itunes remote run on, If it is a vnc client it will be using 5900.

Also do you have screen sharing enabled on your mac.

Nov 6, 2008 5:58 AM in response to Tim Haigh

Tim Haigh wrote:
Regardless of whether it is iphone remote or remote login to rule out the firewall being an issue can you confirm it works when you have no ipfw rules in place.


I already said, ipfw is working (since I can SSH on my box and use VPN). Only problem is with iphone remote, since I can't connect to iTunes, and I don't know which ports to open.

It always shows an empty file.

ok try
cat /var/log/ifpw.log


:/
Ok, thanks for your help, but let me clarify something. I am an experienced UNIX user. So, I know all the basic commands. There is no difference between tail and cat when the file is empty.

What port does the itunes remote run on, If it is a vnc client it will be using 5900.
Also do you have screen sharing enabled on your mac.


Again, itunes remote and remote desktop are two different things...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ipfw, iTunes and syslog

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.