开发者

ipfw resetting after reboot

I added a rule in my ipfw a time ago and now I want to delete it. So i go: sudo ipfw flush And all user rules gets deleted. But everytime i restart the machine the rule is back again!

I tried looking for some ipfw config file, but has not find anything. When I added the rule t开发者_JAVA百科he first time i user WaterRoof (frontend for ipfw), could that have somthing to do with this? (I also tried removing the rule with WaterRoof, but same result)

Any ideas on where this rule gets added every time? I don't know where to start.

Im running OS X 10.6


Hmpf... It was Internet Sharing that added the rule, when I turned it of it all went back to normal.


Should be the same for OSX. Run:

cat /etc/rc.conf |grep -i "firewall"

You should see:

firewall_script="/etc/ipfw.rules"

Modify whatever file that parameter is using.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜