Skip to content

Commit

Permalink
better english
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed May 6, 2020
1 parent 9800eca commit 4fe5445
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions invertban.txt
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 4fe5445

Please sign in to comment.