Software /
code /
prosody-modules
Changeset
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 |
parents | 2386:00eed68f63bf |
children | 2388:b6d59998dba7 |
files | mod_firewall/README.markdown |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/README.markdown Sat Nov 19 15:52:32 2016 +0000 +++ b/mod_firewall/README.markdown Sat Nov 19 15:59:31 2016 +0000 @@ -57,10 +57,16 @@ a message to someone at any of the hosts defined in the 'myorganisation' outside of office hours. -Firewall rules should be written to a `ruleset.pfw` file. Multiple such -rule files can be specified in the configuration using: +Specifying rule sets +-------------------- - firewall_scripts = { "path/to/ruleset.pfw" } +Firewall rules should be written into text files, e.g. `ruleset.pfw` file. +One or more rule files can be specified in the configuration using: + + firewall_scripts = { "path/to/ruleset.pfw", "path/to/ruleset2.pfw" } + +If multiple files are specified and they both add rules to the same chains, +each file's rules will be processed in order, but the order of files is undefined. Conditions ----------