Line 37: |
Line 37: |
| | | |
| === Configuration === | | === Configuration === |
− | you can list the available configuration with the followinf command : | + | you can list the available configuration with the following command : |
| config show modMaxminddb | | config show modMaxminddb |
| | | |
Line 56: |
Line 56: |
| |enabled,disabled | | |enabled,disabled |
| |} | | |} |
| + | ==== Allow access to a specific country ==== |
| + | Starting SME10 you can use this mod to allow access to server-manager, user-manager, local ibays, local contributions. In other words, anything that uses httpd-e-smith, has access = local and would have been accessible to an IP if you added this to httpd-admin ValidFrom (or added this Ip or subnet of IPs in the Remote access panel of the server-manager), will be allow any IP considered to this country / countries to access the ressources. THis is powerfull, so use it only if you know the risk. |
| + | This is still a bit more secure than adding 0.0.0./0.0.0.0 to ValidFrom but ... you known vpn and proxies exists.... |
| + | |
| + | to add access to all IPs localized in Canada and France: |
| + | config setprop httpd-admin ValidFromGeoIP CA,FR |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | systemctl restart httpd-e-smith |
| + | Remove all access by Country |
| + | config delprop httpd-admin ValidFromGeoIP |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | systemctl restart httpd-e-smith |
| | | |
| === Uninstall === | | === Uninstall === |