From af3c1fc1b1498e3ea8f1a4a6933eb36e87056d77 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Mon, 26 Jun 2023 18:33:56 +0200 Subject: [PATCH 1/2] fqdn for parent proxy --- roles/lmn_vm/templates/squid-usermode.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/lmn_vm/templates/squid-usermode.conf.j2 b/roles/lmn_vm/templates/squid-usermode.conf.j2 index 1cf931a..a9dd458 100644 --- a/roles/lmn_vm/templates/squid-usermode.conf.j2 +++ b/roles/lmn_vm/templates/squid-usermode.conf.j2 @@ -1,11 +1,11 @@ acl local-servers dstdomain .{{ domain }} -cache_peer firewall parent 3128 0 no-query default login=NEGOTIATE auth-no-keytab +cache_peer firewall.{{ domain }} parent 3128 0 no-query default login=NEGOTIATE auth-no-keytab never_direct deny local-servers never_direct allow all #access_log stdio:/tmp/access.log squid access_log none -cache_log /dev/null +cache_log /dev/null logfile_rotate 0 pid_filename /tmp/squid.pid -http_port 192.168.122.1:3128 +http_port 192.168.122.1:3128 http_access allow all From 00d5229f004fcb2580db23fad874634b0a7b9396 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Mon, 26 Jun 2023 19:44:40 +0200 Subject: [PATCH 2/2] use fqdn in proxy --- roles/lmn_vm/files/lmn-proxy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lmn_vm/files/lmn-proxy.sh b/roles/lmn_vm/files/lmn-proxy.sh index c5a1efd..e0c4e15 100755 --- a/roles/lmn_vm/files/lmn-proxy.sh +++ b/roles/lmn_vm/files/lmn-proxy.sh @@ -1,4 +1,4 @@ -export http_proxy='http://firewall:3128' +export http_proxy='http://firewall.pn.steinbeis.schule:3128' export https_proxy=$http_proxy export ftp_proxy=$http_proxy export no_proxy=firewall.pn.steinbeis.schule,server.pn.steinbeis.schule,idam.steinbeis.schule,dw.steinbeis.schule,.pn.steinbeis.schule,.steinbeis.schule