News: This forum is now permanently frozen.
Pages: [1]
Topic: Firewall rule ordering  (Read 1259 times)
« on: July 26, 2013, 10:20:23 »
peteispo *
Posts: 8

I understand that the firewall rules are processed in the order listed: is there a method to re-order the rules?
For example, if I add a rule to block a persistent SMTP attack from a particular address, it should be slotted in ahead of the rule that lets SMTP through for everyone else, but at the moment it is put at the bottom of the list...

Is it a possible enhancement to allow rules to be moved up (or down) the list?
« Reply #1 on: July 26, 2013, 10:50:48 »
peteispo *
Posts: 8

Replying to my own question: I found that by making a new rule based on the first rule in the list I could slot in the one I wanted almost at the top.
Since my first rule is the one that allows access to the WebGUI from my office, I don't mind if I can't put a block rule in front of that, and I suppose I could have put a dummy (disabled) rule at the top of the list if I'd thought about it...
« Reply #2 on: July 26, 2013, 16:18:55 »
Fred Grayson *****
Posts: 994

You don't say what version of m0n0wall you are using. On 1.8.1 you can easily reorder rules. The circled left arrow is used to do this.

--
Google is your friend and Bob's your uncle.
« Reply #3 on: July 26, 2013, 17:37:32 »
peteispo *
Posts: 8

D'oh, I never thought to look at what that did!
Sorry for the noise...
« Reply #4 on: July 27, 2013, 06:38:28 »
Lee Sharp *****
Posts: 517

That reordering has been in there since 1.1...
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines