Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Enable/Disable Firewall via CLI in OS X 10.4.9 Client?

Enable/Disable Firewall via CLI in OS X 10.4.9 Client?
Thread Tools
Fresh-Faced Recruit
Join Date: May 2007
Status: Offline
Reply With Quote
May 21, 2007, 04:14 PM
 
Is there a way to do this? I've been searching and searching and I can't find how. Perhaps I'm just blind. Any help is greatly appreciated.


TIA
     
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
May 22, 2007, 12:40 AM
 
From the man page...
sudo ipfw disable firewall
I don't use this one so I can't guarantee it works, but it seems like it would!
--OR--
sudo ipfw flush
This will flush all rules, thus for all intents and purposes, disabling the firewall. For some reason I usually use this one when I'm sshing into someone's machine at work and ARD isn't working. This has the added benefit of removing all the rules someone may have set up to keep you out of the machine.
--Laurence
     
Fresh-Faced Recruit
Join Date: May 2007
Status: Offline
Reply With Quote
May 22, 2007, 08:57 AM
 
Yeah, I already read the man pages, thanks. However, if I run that command the Firewall panel in Sharing doesn't reflect the firewall actually turning on or off. As far as I can tell, that doesn't fly. any other thoughts?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:06 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2