wiki:AdminServer
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.

Version 5 (modified by bau, 11 years ago) ( diff )

--

Serverkonfiguration

Schülernetz

ProxyL

  • Lehrerproxy für das Schülernetz - ohne Filterung / nur nutzbar für Mitglieder der Gruppe lehrer (auf paedml/ldap)
  • Debian jessie
  • auf proxmoxls.kg-fds.de
  • proxyl.kg-fds.de
  • net3/eth3/vmbr3: 192.168.2.2/24 (255.255.255.0) - direkte Route über proxmoxls ins Internet
  • net7/eth7/vmbr7: 10.32.1.250/12 (255.240.0.0)
  • Konfiguration
    • squid3
    • squid_ldap_auth (ist im package squid3 bereits enthalten)
      /etc/squid3/squid.conf / NETWORK OPTIONS
      http_port 3128
      http_port 8080
      
      /etc/squid3/squid.conf / OPTIONS FOR AUTHENTICATION
         # ldap_auth gegen den LDAP-Server auf der paedml
         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))"
      
         auth_param basic children 5
         auth_param basic realm Zieladresse ausserhalb des Kepler-Netzwerkes (proxyL)
         auth_param basic credentialsttl 45 minutes
      
         # Definiert den ACL-Typ ldapGROUP
         external_acl_type ldap_filter %LOGIN /usr/lib/squid3/ext_ldap_group_acl -b "ou=groups,dc=kg-fds,dc=de" -h 10.32.1.1 -p 389 -f "(&(cn=%g)(memberUid=%u))"
      
         # Nur fuer Gruppe teachers
         acl inetusers external ldap_filter teachers
      

/etc/squid3/squid.conf / ACCESS CONTROLS

http_access allow localhost                  # ist schon vohanden
http_access allow inetusers

ProxyS

  • Proxy für das Schülernetz - Filterung über ipFire / nutzbar für alle User auf paedml/ldap
  • DNS für unbekannte Rechner (wird vom DHCP z.B. ltsp6 ausgegeben)
  • Debian jessie
  • auf proxmoxls.kg-fds.de
  • proxys.kg-fds.de
  • net3/eth3/vmbr3: 192.168.2./24 (255.255.255.0) - direkte Route über proxmoxls ins Internet
  • net7/eth7/vmbr7: 10.32.1.251/12 (255.240.0.0)
  • Konfiguration
    • squid3
    • squid_ldap_auth (ist im package squid3 bereits enthalten)
      /etc/squid3/squid.conf / NETWORK OPTIONS
      http_port 3128
      http_port 8080
      
      /etc/squid3/squid.conf / OPTIONS FOR AUTHENTICATION
         # ldap_auth gegen den LDAP-Server auf der paedml
         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))"
      
         auth_param basic children 5
         auth_param basic realm Zieladresse ausserhalb des Kepler-Netzwerkes (proxyL)
         auth_param basic credentialsttl 45 minutes
      
         acl inetusers proxy_auth REQUIRED
      

/etc/squid3/squid.conf / ACCESS CONTROLS

http_access allow localhost                  # ist schon vohanden
http_access allow inetusers
  • dnsmasq /etc/hosts enthält alle Rechner des lokalen Netzes

ProxySW

  • Software-Proxy für das Lehrer- und Schülernetz - keine Filterung eingetragener Domains
  • Debian jessie
  • auf proxmoxls.kg-fds.de
  • proxysw.kg-fds.de
  • net3/eth3/vmbr3: 192.168.2.3/24 (255.255.255.0) - direkte Route über proxmoxls ins Internet
  • net6/eth6/vmbr6: 10.16.112.25/24 (255.255.255.0)
  • net7/eth7/vmbr7: 10.32.1.253/12 (255.240.0.0)
  • Konfiguration
    • squid3
    • squid_ldap_auth (ist im package squid3 bereits enthalten)
      /etc/squid3/squid.conf / NETWORK OPTIONS
      http_port 3128
      http_port 8080
      
      /etc/squid3/squid.conf / ACCESS CONTROLS
      #
      # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
      #
      # eigene ACL
      acl adobe       dstdomain       .adobe.com
      acl debian      dstdomain       .debian.org .hs-esslingen.de
      acl canonical   dstdomain       .canonical.com .launchpad.net
      acl ubuntu      dstdomain       .ubuntu.com
      acl linuxmuster dstdomain       .linuxmuster.net
      acl proxmox     dstdomain       .proxmox.com
      acl virtualbox  dstdomain       .virtualbox.org .sun.com.edgesuite.net
      acl paedml      dstdomain       .kg-fds.de
      acl sourceforge dstdomain       .sourceforge.net
      acl dropbox     dstdomain       .dropbox.com
      acl raspbian    dstdomain       .raspbian.org .raspberrypi.org .wolfram.com .collabora.com .leaseweb.net
      acl googleearth url_regex       http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
      acl geogebra    dstdomain       .geogebra.net
      
      # eigene http_access
      http_access allow adobe
      http_access allow debian
      http_access allow canonical
      http_access allow ubuntu
      http_access allow linuxmuster
      http_access allow virtualbox
      http_access allow paedml
      http_access allow sourceforge
      http_access allow googleearth
      http_access allow dropbox
      http_access allow proxmox
      http_access allow raspbian
      http_access allow geogebra
      
      
Note: See TracWiki for help on using the wiki.