summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 07:55:00 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 07:55:00 +0000
commit26d6ed6bc7120e5c9932d90fe9644dda8167fc7f (patch)
treeb2987bb046e2761572fc423d6597b4fb25d2dfaa /bin
parent2590d04ff2398cac80817f5f39ad4d1efe20ea67 (diff)
downloaddrakx-net-26d6ed6bc7120e5c9932d90fe9644dda8167fc7f.tar
drakx-net-26d6ed6bc7120e5c9932d90fe9644dda8167fc7f.tar.gz
drakx-net-26d6ed6bc7120e5c9932d90fe9644dda8167fc7f.tar.bz2
drakx-net-26d6ed6bc7120e5c9932d90fe9644dda8167fc7f.tar.xz
drakx-net-26d6ed6bc7120e5c9932d90fe9644dda8167fc7f.zip
make sure squid user can connect to www
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakgw1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/drakgw b/bin/drakgw
index 287f1c6..0dee747 100755
--- a/bin/drakgw
+++ b/bin/drakgw
@@ -283,6 +283,7 @@ If you do not know the meaning of an option, simply leave it as it is."),
network::squid::write_squid_conf($squid_conf, $lan_intf, $internal_domain_name) if $use_caching_proxy;
services::set_status("squid", $use_caching_proxy);
network::shorewall::set_redirected_ports($shorewall, 'tcp', $squid_conf->{http_port}[0], if_($use_caching_proxy, 'www'));
+ $shorewall->{accept_local_user}{www} = $use_caching_proxy && 'squid';
-f $cups_conf ? "cups" : end_step();
},
},