The Mac Observer

Creating Custom Firewall Ports

TMO Talk (0)

The firewall thatis built into Mac OS X does a good job of blocking unwanted network traffic from finding its way into your Mac. But if you need a specific type of data to travel in and out of your Mac, and the firewall is blocking it, itis time to roll up your sleeves and open the port yourself.

First, a little back story on network ports. Network ports are a kind of virtual port that different types of data travel through. The data that passes through your firewall is assigned to a specific port, and each port has a unique number. For example, Web-based data, like the information that tells your Web browser how to display the sites you visit travels on port 80. Port 25 is commonly used for email.

If your firewall is blocking a specific port you need, any information traveling through that port will be blocked. Keeping with our Web data example, if port 80 is blocked, you wonit be able to view Web pages.

Now back to our regularly scheduled Quick Tip. When your Macis firewall is active, many applications that need to send data on a closed port will either ask you to manually open the port, or will open the port for you. If you need to manually open a port, hereis what to do:

Start by finding out which port you need to open. If an application asks you to manually open a firewall port, it should also give you the associated number. If not, check the applicationis documentation, or for the ambitious, you can check the IANA port number Web page. Once you have the port number, itis time to modify your firewall settings. For this example, weill assume that FileMaker Pro needs port 5003 open.

  • Launch System Preferences. You can find it by selecting Apple menu > System Preferences.
  • Click the Sharing.
  • Click the Firewall tab.
  • Click the New button in the Firewall pane.

  • Click the New button to create a network port.
  • Choose Other from the Port Name pop-up menu.

  • Select Other to make a custom port.
  • Enter the port number you want to open in the TCP Port Number(s) field. In our example, thatis 5003. Donit worry about the UDP Port Number(s) field.

  • Enter the port number and a name.
  • Enter a name that makes sense to you in the Description field. I typed "FileMaker Pro."
  • Click OK.

Your new open network port.

This works only for firewall ports on your own Mac. If there is a network-based firewall blocking traffic, it may still prevent any information from passing out of your local network to the Internet. If you need network ports opened on a firewall thatis between your Mac and the Internet, and you arenit comfortable or authorized to make those changes, contact your IT department or favorite Mac consultant.

If you arenit sure if your Macis firewall is turned on, check out this Quick Tip on activating the firewall in Mac OS X.

This Quick Tip was adapted from The Designeris Guide to Mac OS X Tiger.

<!--#include virtual="/includes/newsite/series/quicktip.shtml"-->
Post A Comment or Log-in. Need an account? Register here.
 

Recent Headlines - Updated February 13th

Mon, 8:14 PM
News - Chinese Authorities Seize Apple iPads in Trademark Dispute
6:26 PM
News - Apple Tops Harris Reputation Poll with Record Score
5:33 PM
Mac Geek Gab Podcast - MGG 381: Mac Internet Recovery, HTML on iPad, iDevice Syncing, More!
5:04 PM
Apple Stock Watch - Apple’s Stock Sets New Closing High of $502.60
1:50 PM
News - A Great 3-Minute Video Look at Macworld|iWorld 2012
12:41 PM
Deal Brothers - Mac mini 2.5GHz dual-core Intel Core i5:  $699
11:51 AM
Rumor - Pegatron Forced to Drop Zenbook Due to MacBook Air Similarities
11:00 AM
Apple Stock Watch - Apple’s Stock Breaks $500 Mark For First Time
10:20 AM
News - Apple Announces Foxconn Inspections
9:34 AM
iObserver - AT&T Begins Process Toward Offering Shared Data
9:15 AM
News - Apple Files Motion to Stop Galaxy Nexus Sales in U.S.
8:20 AM
News - Steve Jobs Given Trustees Award at the Grammys
 

The Mac Observer Reader Specials

  • TypeStyler 11 is now in the Mac App Store!! -- Special Introductory Price of $59.95!! -- To Buy From The Mac App Store Click Here Now!! Or buy direct from Strider Software.
  • Mac RAM Upgrades: MacBook Pro 16GB kits $475, 8GB Kits for $119.99! iMac 16GB RAM Kits (4x 4GB) for $229.99! Mac Pro Memory 32GB Kit for $399.99, 64GB Kit for $889.99! Mac Hard Drives 2TB Seagate SATA II for $249.99! Click Here!
  • Poker Mac If you're using a Mac, then you've gotta check out Online Poker Mac. This mac poker and online casino mac site actually does the unthinkable, it actually rewards!

Apple Stock Quote (AAPL)

Loading...

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal