Jump to content

Recommended Posts

Posted

I cocked up me firewall.

 

I gave access to all ports to the local ip range and now cannot connect to the server admin.

 

Anyone know how to reset the damn thing? I cannot access any settings in the server admin?

 

Any help would be great.

 

Thanks.

 

PS i found a ipfw -flush command. Does this do the trick?

 

I have tried to remove the plist files in the ipfilter folder but that did not resolve the issue.

Posted

Well, here's a link to a site I have used for IPFW stuff on server for a long time:

 

http://www.macdevcenter.com/pub/a/mac/2005/03/15/firewall.html

 

The command to clean it all out that I have used is:

 

sudo /sbin/ipfw -f flush

 

But that was on an earlier version than 10.4. The command you should use is probably:

 

sudo ipfw flush

 

Let me know if/when you fix this. It would be good to file somewhere.

 

Good luck!

 

Paul

Posted

I got in this morning and ran the command and indeed it flushed the rules (ipfw -f flush) with sudo use.

I also found that the dns entries had been editied so was the reason i couldn't connect locally.

 

It may have been a mixture of both but the main reason would be the DNS. I don't remember changing the dns entry though :o

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...