| | 42 | |
| | 43 | |
| | 44 | === ProxyS === |
| | 45 | |
| | 46 | * Proxy für das Schülernetz - Filterung über ipFire / nutzbar für alle User auf paedml/ldap |
| | 47 | * Debian jessie |
| | 48 | * auf proxmoxls.kg-fds.de |
| | 49 | * proxys.kg-fds.de |
| | 50 | * net3/eth3/vmbr3: 192.168.2./24 (255.255.255.0) - direkte Route über proxmoxls ins Internet |
| | 51 | * net7/eth7/vmbr7: 10.32.1.251/12 (255.240.0.0) |
| | 52 | * Konfiguration |
| | 53 | * squid3 |
| | 54 | * squid_ldap_auth (ist im package squid3 bereits enthalten)[[BR]] |
| | 55 | /etc/squid3/squid.conf / OPTIONS FOR AUTHENTICATION |
| | 56 | {{{ |
| | 57 | # ldap_auth gegen den LDAP-Server auf der paedml |
| | 58 | auth_param basic program /usr/lib/squid3/basic_ldap_auth -b ou=accounts,dc=kg-fds,dc=de -h 10.32.1.1 -p 389 -f "(&(objectClass=*)(uid=%s))" |
| | 59 | |
| | 60 | auth_param basic children 5 |
| | 61 | auth_param basic realm Zieladresse ausserhalb des Kepler-Netzwerkes (proxyL) |
| | 62 | auth_param basic credentialsttl 45 minutes |
| | 63 | |
| | 64 | acl inetusers proxy_auth REQUIRED |
| | 65 | }}} |
| | 66 | |
| | 67 | /etc/squid3/squid.conf / ACCESS CONTROLS |
| | 68 | {{{ |
| | 69 | http_access allow localhost # ist schon vohanden |
| | 70 | http_access allow inetusers |
| | 71 | }}} |
| | 72 | |
| | 73 | |
| | 74 | === ProxySW === |
| | 75 | |
| | 76 | * Software-Proxy für das Lehrer- und Schülernetz - keine Filterung eingetragener Domains |
| | 77 | * Debian jessie |
| | 78 | * auf proxmoxls.kg-fds.de |
| | 79 | * proxysw.kg-fds.de |
| | 80 | * net3/eth3/vmbr3: 192.168.2.3/24 (255.255.255.0) - direkte Route über proxmoxls ins Internet |
| | 81 | * net6/eth6/vmbr6: 10.16.112.25/24 (255.255.255.0) |
| | 82 | * net7/eth7/vmbr7: 10.32.1.253/12 (255.240.0.0) |
| | 83 | * Konfiguration |
| | 84 | * squid3 |
| | 85 | * squid_ldap_auth (ist im package squid3 bereits enthalten)[[BR]] |
| | 86 | /etc/squid3/squid.conf / ACCESS CONTROLS |
| | 87 | {{{ |
| | 88 | http_access allow localhost # ist schon vohanden |
| | 89 | # eigene ACL |
| | 90 | acl adobe dstdomain .adobe.com |
| | 91 | acl debian dstdomain .debian.org .hs-esslingen.de |
| | 92 | acl canonical dstdomain .canonical.com .launchpad.net |
| | 93 | acl ubuntu dstdomain .ubuntu.com |
| | 94 | acl linuxmuster dstdomain .linuxmuster.net |
| | 95 | acl proxmox dstdomain .proxmox.com |
| | 96 | acl virtualbox dstdomain .virtualbox.org .sun.com.edgesuite.net |
| | 97 | acl paedml dstdomain .kg-fds.de |
| | 98 | acl sourceforge dstdomain .sourceforge.net |
| | 99 | acl dropbox dstdomain .dropbox.com |
| | 100 | acl raspbian dstdomain .raspbian.org .raspberrypi.org .wolfram.com .collabora.com .leaseweb.net |
| | 101 | acl googleearth url_regex http://dl.google.com/earth/client/current/GoogleEarthLinux.bin |
| | 102 | acl geogebra dstdomain .geogebra.net |
| | 103 | |
| | 104 | # eigene http_access |
| | 105 | http_access allow adobe |
| | 106 | http_access allow debian |
| | 107 | http_access allow canonical |
| | 108 | http_access allow ubuntu |
| | 109 | http_access allow linuxmuster |
| | 110 | http_access allow virtualbox |
| | 111 | http_access allow paedml |
| | 112 | http_access allow sourceforge |
| | 113 | http_access allow googleearth |
| | 114 | http_access allow dropbox |
| | 115 | http_access allow proxmox |
| | 116 | http_access allow raspbian |
| | 117 | http_access allow geogebra |
| | 118 | |
| | 119 | }}} |
| | 120 | |