Server 10.4 firewall
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.
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.
Well, here's a link to a site I have used for IPFW stuff on server for a long time:
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.
All good now.
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