Mercurial > prosody-modules
comparison mod_firewall/README.markdown @ 2104:384fb28452b9
mod_firewall: README: Improve chain usage example comments
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 11:24:41 +0000 |
parents | 11f047bcb9e4 |
children | f2d5aa789646 |
comparison
equal
deleted
inserted
replaced
2103:11f047bcb9e4 | 2104:384fb28452b9 |
---|---|
355 # Oops! This rule will never match, because alice is not a local user, | 355 # Oops! This rule will never match, because alice is not a local user, |
356 # and only stanzas to local users go through the 'deliver' chain: | 356 # and only stanzas to local users go through the 'deliver' chain: |
357 TO: alice@remote.example.com | 357 TO: alice@remote.example.com |
358 DROP. | 358 DROP. |
359 | 359 |
360 # Create a 'preroute' chain of rules: | 360 # Create a 'preroute' chain of rules (matched for incoming stanzas from local clients): |
361 ::preroute | 361 ::preroute |
362 # These rules are matched for outgoing stanzas from local clients | 362 # These rules are matched for outgoing stanzas from local clients |
363 | 363 |
364 # This will match any stanzas sent to alice from a local user: | 364 # This will match any stanzas sent to alice from a local user: |
365 TO: alice@remote.example.com | 365 TO: alice@remote.example.com |