Mercurial > repos > other > Puppet
view fileserver.conf @ 64:3bb824dabaae puppet-3.6
Make sure Fail2Ban rules are in right order (using separate chain) and whitelist Googlebot (which keeps hitting Script Kiddy targets for unknown reasons)
Less painful than I expected :)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 13 Sep 2015 20:48:18 +0100 |
parents | 956e484adc12 |
children | 2c3e745be8d2 |
line wrap: on
line source
# This file consists of arbitrarily named sections/modules # defining where files are served from and to whom # Define a section 'files' # Adapt the allow/deny settings to your needs. Order # for allow/deny does not matter, allow always takes precedence # over deny # [files] # path /var/lib/puppet/files # allow *.example.com # deny *.evil.example.com # allow 192.168.0.0/24 #[files] #path /etc/puppet/files #allow *.ibboard.co.uk #allow 127.0.0.1 #allow localhost [private] path /etc/puppet/private allow *.ibboard.co.uk allow 127.0.0.1 allow localhost [common] path /etc/puppet/common allow *.ibboard.co.uk allow 127.0.0.1 allow localhost