From 4fe544514ad57645064f7abf2d82cced8550b423 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Wed, 6 May 2020 18:02:04 +0200 Subject: [PATCH] better english --- invertban.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/invertban.txt b/invertban.txt index 3a09c9d..9aca35d 100644 --- a/invertban.txt +++ b/invertban.txt @@ -1,10 +1,8 @@ -This is already explained in the docs, but people don't read docs. -If you want to allow only specified addresses to access your files, you can. -You need only 1 row to get it. +Normal behavior of the Ban is to prevent access to the addresses you specify (also called black-list). +If you want the opposite, to allow the addresses that you specify (white-list), enter all addresses in a single row preceded by a \ character. -Let say you want 1 and 2 to pass, others to be blocked. -Just put this IP address mask: \1;2 -The opening \ character inverts the logic, so everything that is NOT 1 or 2 will be banned. -E.g. 3 will be banned. +Let say you want to allow all your 192.168 local network plus your office at 1.1.1.1. +Just put this IP address mask: \192.168.*;1.1.1.1 +The opening \ character inverts the logic, so everything else is banned. If you want to know more about address masks, check the guide.