Guys,
On a old 6.0 box I did my own custom template which used these files...
20ACL00all
40http_access75AllowLocal
40http_access99denyall
In 20ACL00all I had...
acl all src 0.0.0.0/0.0.0.0
acl user1 src 192.168.1.67/32
acl AllDomain dst 0.0.0.0/0.0.0.0
acl AllowedDomain dstdomain
www.yahoo.co.ukIn 40http_access75AllowLocal I had...
http_access allow user1 AllowedDomain
http_access deny user1 AllDomain
http_access allow localsrc
And in 40http_access99denyall I had...
http_access deny all
Now once I expanded and restarted service nothing works (doesn't block any webpages) as before in earlier versions.
The only thing I notice is there is a "new" 20ACL10localhost which has the following....
{
use esmith::NetworksDB;
my $ndb = esmith::NetworksDB->open_ro();
$localAccess = $ndb->local_access_spec();
$OUT .= "acl localsrc src $localAccess\n";
$OUT .= "acl localdst dst $localAccess";
}
I wonder what I would need to do to get it working with what I need does anyone have any tips?
I know mastersleepy has done a contrib to allow ips but I would like to create a custom template as in the past to restrict some ips.