# HG changeset patch # User MWild1@gmail.com # Date 1338066829 0 # Node ID caffa894b070c400a0e358e65415195bfab83231 # Parent a0d014edd8dfd3d0390f45ef398140da28e9d947 Add table of config options with descriptions diff -r a0d014edd8df -r caffa894b070 mod_host_guard.wiki --- a/mod_host_guard.wiki Sat May 26 21:06:41 2012 +0000 +++ b/mod_host_guard.wiki Sat May 26 21:13:49 2012 +0000 @@ -15,7 +15,15 @@ * The plugin can work either by blocking all remote access (s2s) to a certain resource with optional exceptions (useful for components) * Or by selectively blocking certain remote hosts through blacklisting (by using host_guard_selective and host_guard_blacklisting) -Module configuration syntax: += Configuration = + +|| *Option name* || *Description* || +|| host_guard_blockall || A list of local hosts to protect from incoming s2s || +|| host_guard_blockall_exceptions || A list of remote hosts that are always allowed to access hosts listed in host_guard_blockall || +|| host_guard_selective || A list of local hosts to allow selective filtering (blacklist) of incoming s2s connections || +|| host_guard_blacklist || A blacklist of remote hosts that are not allowed to access hosts listed in host_guard_selective || + +== Example == host_guard_blockall = { "no_access.yourhost.com", "no_access2.yourhost.com" } -- insert here the local hosts where you want to forbid all remote traffic to. host_guard_blockall_exceptions = { "i_can_access.no_access.yourhost.com" } -- optional exceptions for the above.