Comparison

mod_firewall/README.markdown @ 2387:5bfb2ccab2ab

mod_firewall: README: Add more info about specifying rule set files
author Matthew Wild <mwild1@gmail.com>
date Sat, 19 Nov 2016 15:59:31 +0000
parent 2375:7ad312b4cefe
child 2388:b6d59998dba7
comparison
equal deleted inserted replaced
2386:00eed68f63bf 2387:5bfb2ccab2ab
55 55
56 This rule will reply with a short message whenever someone tries to send 56 This rule will reply with a short message whenever someone tries to send
57 a message to someone at any of the hosts defined in the 'myorganisation' 57 a message to someone at any of the hosts defined in the 'myorganisation'
58 outside of office hours. 58 outside of office hours.
59 59
60 Firewall rules should be written to a `ruleset.pfw` file. Multiple such 60 Specifying rule sets
61 rule files can be specified in the configuration using: 61 --------------------
62 62
63 firewall_scripts = { "path/to/ruleset.pfw" } 63 Firewall rules should be written into text files, e.g. `ruleset.pfw` file.
64 One or more rule files can be specified in the configuration using:
65
66 firewall_scripts = { "path/to/ruleset.pfw", "path/to/ruleset2.pfw" }
67
68 If multiple files are specified and they both add rules to the same chains,
69 each file's rules will be processed in order, but the order of files is undefined.
64 70
65 Conditions 71 Conditions
66 ---------- 72 ----------
67 73
68 All conditions must come before any action in a rule block. The 74 All conditions must come before any action in a rule block. The