This discussion is archived
2107 Views 8 Replies Latest reply: Nov 14, 2007 5:24 AM by jamesfromhereford
Currently Being ModeratedNov 1, 2007 8:43 PM (in response to Redwoodtree)In the terminal:
sudo ipfw add allow tcp from x to y
x = starting port
y = ending port
If only opening one port, make both x and y the single port number. Your admin password will be requested, and does not echo on the screen.
To close the port(s) again, replace the word "allow" with the word "deny"IMac Intel 20" , Mac Mini PPC and MacBook 2.16 ghz Black (2GB RAM), Mac OS X (10.5), Vista Dual Boot on the MacBook
Currently Being ModeratedNov 9, 2007 10:36 AM (in response to Craig Brady)Is there a terminal command to reset all the ports to default? I have been experimenting with ports and would like to reset it back to default so no ports are left open.20" 2.0Ghz C2D 2GB RAM Aluminium iMac, Mac OS X (10.5), iPod (6G) Black 80GB
Currently Being ModeratedNov 9, 2007 10:49 AM (in response to jamesfromhereford)Good question ! This is one reason I don't like the command line administration of firewall rule sets, it's so easy to make a mistake and/or forget what the original settings were.
I'll take a list of the default settings and post them here if no one else does (I'm not on leopard right now).MacBook Pro 2.0, G5 1.6, TiBook 800, Pismo 447
Currently Being ModeratedNov 12, 2007 3:51 PM (in response to Redwoodtree)I've been having the same problem trying to figure out how to open up port 24800 so I can use synergy to share my keyboard and mouse. So after much searching I found an app with a somewhat lacking user interface that allows you to open and close ports amongst other things. It's free so I guess I shouldn't complain. It's called Waterroof and is a gui wrapper for terminal methods that have been discussed as solutions on this and other threads.
Currently Being ModeratedNov 13, 2007 8:24 PM (in response to jamesfromhereford)Sorry I didn't reply sooner, Leopard has not been my day-to-day OS because of issues such as this one
Anyway, the default I have with the System Preferences set to "Allow all incoming connections" is this:
65535 allow ip from any to any
When I change the System Preference to "Block all incoming connections" or "Set access for specific services . . . " it makes no difference, it's always just this same: 65535 allow ip from any to anyMacBook Pro 2.0, G5 1.6, TiBook 800, Pismo 447