diff -Nur e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost --- e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost 2015-04-13 15:35:20.105000000 +0200 +++ e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost 2015-04-13 15:55:02.575000000 +0200 @@ -18,5 +18,7 @@ } $OUT .= "acl localsrc src $localAccess\n"; - $OUT .= "acl localdst dst $localAccess"; + $OUT .= "acl localdst dst $localAccess\n"; + $OUT .= "acl selfdst dst 127.0.0.1 $LocalIP\n"; + $OUT .= "acl selfport port " . ($squid{TCPPort} || '3128'); } diff -Nur e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf --- e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf 2015-04-13 15:53:47.920000000 +0200 @@ -0,0 +1 @@ +http_access deny selfdst selfport