| | 8 | |
| | 9 | |
| | 10 | ''NOTE:'' be very careful with enabling '''zomgbl.spameatingmonkey.net.''' - because it will block anyone! |
| | 11 | |
| | 12 | |
| | 13 | |
| | 14 | == Example: how to allow only several countries and block all other countries == |
| | 15 | |
| | 16 | |
| | 17 | The purpose - we need to allow users from Canada and USA countries and don't allow to join or login users from all other countries. |
| | 18 | |
| | 19 | |
| | 20 | Add Canada, USA to the while list: |
| | 21 | |
| | 22 | {{{ |
| | 23 | '''Chain:''' whitelist |
| | 24 | Domain Zone: ca.countries.nerd.dk. |
| | 25 | Return Value: 127.0.0.2 |
| | 26 | Url: http://countries.nerd.dk/ |
| | 27 | Recheck URL: [leave empty] |
| | 28 | Comment: Allow CA |
| | 29 | }}} |
| | 30 | |
| | 31 | |
| | 32 | {{{ |
| | 33 | Chain: whitelist |
| | 34 | Domain Zone: us.countries.nerd.dk. |
| | 35 | Return Value: 127.0.0.2 |
| | 36 | Url: http://countries.nerd.dk/ |
| | 37 | Recheck URL: |
| | 38 | Comment: Allow US |
| | 39 | }}} |
| | 40 | |
| | 41 | |
| | 42 | Then enable the following DNSBL: |
| | 43 | {{{ |
| | 44 | zomgbl.spameatingmonkey.net. |
| | 45 | }}} |
| | 46 | It will block all other countries except the ones you've whitelisted - US and CA. |
| | 47 | |
| | 48 | |
| | 49 | Now everything is setup but the system is not enabled (by default), to enable it turn on the following setting: |
| | 50 | Admin Panel -> Settings -> Advanced Settings > Security > Enable DNS Block Lists |
| | 51 | |
| | 52 | |
| | 53 | Also this system don't block admin, so even if you block yourself - you will still be able to login to your site as admin via admin login. Only exception is when you enable total block - so user is blocked before he can login - so in this case everyone is affected, but this option is turned off by default. By default users are blocked during login and join only. |