Brickhouse - weird thing...

ksignorini

Registered
I used Brickhouse to configure a totally empty firewall--that is I didn't choose any options during the configuration helper (wizard) and chose to Allow all in and out as the defaults.

Then I added a rule to block a certain UDP port From Any, To Any.

I then updated and installed the script. I disabled and enabled the firewall.

Then I did a "monitor" action and found that the very last rule 65535 was to Allow From Any, To Any. Since this is the last rule, all the previouse rules are null and void.

What's wrong here? Why isn't my rule overriding the defaults? When I look in Expert mode, I think I saw that my rules are added before the defaults. This does not seem right since all other rules become useless, and even so I didn't see the rule numbered 65535.

What's up with this? Any ideas?

Kent!
 
The way firewalls work you deny/allow based on the first rule to the last. So if rule #3 says deny and then rule #4 says allow, it'll deny.

If something isn't defined as allow/deny it is deny by default. So the last rule in your firewall correctly is "allow all else."

Cheers,
Dak
 
Back
Top