close
Warning:
Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jan 12, 2016, 11:12:07 AM (11 years ago)
- Author:
-
bau
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v1
|
|
| | 1 | = Serverkonfiguration = |
| | 2 | |
| | 3 | == Schülernetz == |
| | 4 | |
| | 5 | === ProxyL === |
| | 6 | |
| | 7 | * Lehrerproxy für das Schülernetz - ohne Filterung / nur nutzbar für Mitglieder der Gruppe lehrer (auf paedml/ldap) |
| | 8 | * Debian jessie |
| | 9 | * auf proxmoxls.kg-fds.de |
| | 10 | * proxyl.kg-fds.de |
| | 11 | * net3/eth3/vmbr3: 192.168.2.2/24 (255.255.255.0) - direkte Route über proxmoxls ins Internet |
| | 12 | * net5/eth5/vmbr5: 10.32.1.250/12 (255.240.0.0) |
| | 13 | * Konfiguration |
| | 14 | * squid3 |
| | 15 | * squid_ldap_auth (ist im package squid3 bereits enthalten) |
| | 16 | /etc/squid3/squid.conf / OPTIONS FOR AUTHENTICATION |
| | 17 | {{{ |
| | 18 | # ldap_auth gegen den LDAP-Server auf der paedml |
| | 19 | auth_param basic program /usr/lib/squid/ldap_auth -b ou=accounts,dc=kg-fds,dc=de -h 10.32.1.1 -p 389 -f "(&(objectClass=*)(uid=%s))" |
| | 20 | |
| | 21 | auth_param basic children 5 |
| | 22 | auth_param basic realm Zieladresse ausserhalb des Kepler-Netzwerkes (proxyL) |
| | 23 | auth_param basic credentialsttl 45 minutes |
| | 24 | |
| | 25 | # Definiert den ACL-Typ ldapGROUP |
| | 26 | external_acl_type ldap_filter %LOGIN /usr/lib/squid/squid_ldap_group -b "ou=groups,dc=kg-fds,dc=de" -h 10.32.1.1 -p 389 -f "(&(cn=%g)(memberUid=%u))" |
| | 27 | |
| | 28 | # Nur fuer Gruppe teachers |
| | 29 | acl inetusers external ldap_filter teachers |
| | 30 | }}} |
| | 31 | |
| | 32 | /etc/squid3/squid.conf / ACCESS CONTROLS |
| | 33 | {{{ |
| | 34 | http_access allow localhost # ist schon vohanden |
| | 35 | http_access allow inetusers |
| | 36 | }}} |