The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   Bonjour sync (http://forums.omnigroup.com/forumdisplay.php?f=55)
-   -   Bonjour sync trouble? Start here! - Configuring the Mac OS X Firewall. (http://forums.omnigroup.com/showthread.php?t=13380)

Brian 2009-08-12 02:32 PM

Bonjour sync trouble? Start here! - Configuring the Mac OS X Firewall.
 
Mac OS X includes a security feature called a "Firewall" which can be used to block unwanted network communication with your computer. Configured correctly, the firewall can protect your computer from some of the less-savory aspects of life on the internet. (Identity theft, for example.)

Unfortunately, the firewall can also interfere with the network traffic that OmniFocus uses to sync via Bonjour. This forum post will walk you through the process of configuring your firewall to allow OmniFocus to sync, while still keeping the other protection the firewall provides intact.

(These steps don't account for other software which can block the sync - Little Snitch for example - which may be installed on the Mac. Wireless routers could also be interfering, if they have a built-in firewall.)

The steps you'll take to configure your firewall differ depending on what version of Mac OS X you have installed - the version that ships with 10.5 is somewhat simpler to configure. If you're still running 10.4, don't worry; just skip past the 10.5 instructions to find the steps you need.

Okay, here we go! If you have any questions, feel free to contact the [EMAIL="omnifocus@omnigroup.com"]support ninjas[/EMAIL] and we can help.

[B]Configuring the firewall in 10.6:[/B][LIST=1][*]Quit OmniFocus.[*]Open [B]System Preferences[/B], then click on [B]Security[/B], and switch to the [B]Firewall[/B] tab.[*]At the bottom right of the panel, press the [B]Advanced...[/B] button. A sheet should slide out of the top of the panel.[*]Make sure the "Block all incoming connections" box is unchecked.[*]Press the small [B]+[/B] button in the lower left of the panel.[*]Another sheet should appear; navigate to and select your copy of OmniFocus, then press the [B]Add[/B] button.[*]OmniFocus should now appear in the large list area in the center of the panel. Make sure the pop-up to the right of OmniFocus is set to [B]Allow incoming connections[/B]. Ensure that "Web Sharing" is enabled. Ensure "Block all incoming connections" and "Enable Stealth Mode" are both disabled.[*]Assuming everything went as planned in the previous steps, you should be able to restart OmniFocus and complete the Bonjour setup process without the firewall interfering. (As always, contact the [EMAIL="omnifocus@omnigroup.com"]support ninjas[/EMAIL] if you need help.)[/LIST]
[B]Additional note:[/B] It appears that the firewall in 10.6 is fairly picky about the circumstances in which it's willing to let OmniFocus sync, even when the application is on the approved list. It also appears that it caches a certain amount of information - if it decides to block us, the decision gets cached even if the settings change subsequently.

If you're having trouble getting through the firewall, you may want to try the following steps in this order:
[LIST=1][*]Ensure that OmniFocus is on the approved list.[*]Turn the firewall off.[*]Ensure Web Sharing is enabled.[*]Turn the Firewall on.[*]Launch OmniFocus.[/LIST]

[B]Configuring the firewall in 10.5:[/B][LIST=1][*]Quit OmniFocus.[*]Open [B]System Preferences[/B], then click on [B]Security[/B], and switch to the [B]Firewall[/B] tab.[*]At the top of the panel, select the [B]Set access for specfic services and applications[/B] option.[*]Press the small [B]+[/B] button in the lower left of the panel.[*]Use the new sheet that appears to navigate to and select your copy of OmniFocus, then press [B]Add[/B].[*]OmniFocus should now appear in the large list area in the center of the panel. Make sure the pop-up to the right of OmniFocus is set to [B]Allow incoming connections[/B].[*]Assuming everything went as planned in the previous steps, you should be able to restart OmniFocus and complete the Bonjour setup process without the firewall interfering. (As always, contact the [EMAIL="omnifocus@omnigroup.com"]support ninjas[/EMAIL] if you need help.)[/LIST]

[B]Configuring the firewall in 10.4:[/B][LIST=1][*]Open Terminal.app (in your Utilities folder). Quit OmniFocus, if it is running.[*]Paste this command into the window:
[CODE]defaults write com.omnigroup.OmniFocus SyncServerPort -int 50042[/CODE][*]Hit return in the Terminal window to execute the command, then restart OmniFocus. (The command tells OmniFocus's bonjour server to run using a particular communication port.)[*]The next step is to configure your 10.4 Firewall to allow connections to port 50042 from other machines. To do this, open up [B]System Preferences[/B], click on [B]Sharing[/B], then click on the [B]Firewall[/B] tab.[*]Click the [B]New...[/B] button in the Firewall tab.[*]Set the port name to [B]Other[/B].[*]Add the port number you picked - 50042, unless you changed the command you entered in step 2.[*]Optionally, set the description to "OmniFocus Sync Server".)[*]Once that's all set up, click [B]Okay[/B]. You should now see "OmniFocus Sync Server" in your "Allow" list, and it should be checked (allowing incoming connections).[*]Assuming everything went as planned in the previous steps, you should be able to restart the Bonjour setup process without the firewall interfering. (As always, contact the [EMAIL="omnifocus@omnigroup.com"]support ninjas[/EMAIL] if you need help.)[/LIST]
Hope this helps!


All times are GMT -8. The time now is 02:41 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.