forked from rejetto/hfs2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |