> Does your proxy use Zentyal as the gateway?
No, the proxy in the "DMZ" (my WAN network) uses a normal other gateway (the central adsl router) that also is the default gw for zentyal by DHCP on the eth0 WAN interface.
>Does Zentyal have the HTTP proxy module installed, enabled and in transparent mode?
Yes, and without the gateway proxy set in Zentyal I have an operational transparent proxy with filtering for my zentyal LAN internal network PCs
>This feature does three things:
>1.- enable proxy configuration for APT
>2.- enable system wide proxy configuration (needs reboot to be fully applied) as it configures a system wide environment variable and all services need a restart to get this configuration
>3.- makes local HTTP proxy use this defined proxy as a parent server
I rebooted as I thought this was the issue then, but the clients on the Internal zentyal network still cannot then use the zentyal proxy anymore. there is no response.
In the /var/log/zentyal/zentyal.log I find the error that is mostly the same issue that the clients seem to effect:
INFO> Log.pm:118 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
'source' => 'HTTP proxy client',
'compMessage' => 'proxy_www.google.com_500',
'level' => 'warn',
'dispatchers' => [
'any'
],
'timestamp' => 1323530331,
'message' => 'The HTTP proxy was not able to browse www.google.com: 500 Can\'t connect to localhost:3128 (connect: Connection refused)'
}, 'EBox::Event' );
I checked the running Services, and HTTPProxy is not running->> Restarting manually does not help.
2011/12/10 18:39:07 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: squid
2011/12/10 18:39:08 INFO> Base.pm:1056 EBox::Module::Base::__ANON__ - Using custom template for /etc/dansguardian/languages/ukenglish/template.html: /etc/zentyal/stubs/squid/template.html.mas
In syslog I find:
Dec 10 18:44:09 zentyal squid[21578]: Bungled squid.conf line 43: never_direct allow all
Dec 10 18:44:09 zentyal init: squid main process (21578) terminated with status 1
So I checked the squid.conf. And as the syslog indicates it fails on the line after the inserted HTTPProxy item.
cache_peer 10.20.0.33 parent 8080 0 no-query no-digest
never_direct allow all
# <EBOX> TAG_ACL #
auth_param basic realm Zentyal HTTP proxy