== ProxMoxS == Der ProxMoxS ist eine Servermaschine (ASUS M3A78, Athlon X2 5900, 4GB Ram) im grünen Netz (Schülernetz) auf dem über OpenVZ bzw KVM weitere Server virtualisiert sind. === Festplatten / Raid === Eingebaut sind drei SATA-Platten mit 160GB auf denen zwei Raid-Devices aufgesetzt sind - md0: 5 GB /boot - md1: 147 GB / für LVM benutzt auf dem Raid md1 setzt ein LVM auf in das ein Debian 5 mit Proxmox-Kernel installiert ist. === VM's === * VM102: IpCop (KVM) * VM103: RemboS (OpenVZ/Debian) * Vm104: Proxy (OpenVZ/Debian) === NIC's / virtuelle Switche (bridges) === Im Server eingebaut sind: * eth0 * oben / INTEL e1000 * grün auf vmbr0 * manual[[BR]][[BR]] * eth1 * onboard / Realtek 8169 GBit * blau auf vmbr1 * manual[[BR]][[BR]] * eth2 * unten / INTEL e100 * rot auto / auf vmbr2 * Portforwarding auf vmbr2 * 141.10.54.243/255.255.255.248[[BR]][[BR]] * eth3 * mitte / DLINK (viarhine) * grau? auf vmbr3 * manual[[BR]][[BR]] Brücken (virtuelle Switche) * vmbr0 * grün * Kepler-Schülernetz * 10.32.1.253 / 255.255.240.0 * IPCop: 10.32.1.254 * Rembo: 10.32.1.252 * Proxy: 10.32.1.251[[BR]][[BR]] * vmbr1 * blau * Kepler-WLAN * 172.16.32.253 / 255.255.255.0 * IPCop: 172.16.32.254[[BR]][[BR]] * vmbr2 * rot * BelWUE-Internet * 192.168.2.1/255.255.255.0 * IPCop: 192.168.2.254[[BR]][[BR]] * Auf vmbr2 wird NAT mit Portweiterleitung (80,443,636,2222,25,8180) zu eth2 gemacht: {{{ auto vmbr2 iface vmbr2 inet static address 192.168.2.1 netmask 255.255.255.0 bridge_ports none bridge_stp off bridge_fd 0 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '192.168.2.0/24' -o eth2 -j MASQUERADE post-up iptables -t nat -A PREROUTING -p tcp --dport 25 -i eth2 -j DNAT --to 192.168.2.254:25 post-up iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth2 -j DNAT --to 192.168.2.254:80 post-up iptables -t nat -A PREROUTING -p tcp --dport 389 -i eth2 -j DNAT --to 192.168.2.254:389 post-up iptables -t nat -A PREROUTING -p tcp --dport 443 -i eth2 -j DNAT --to 192.168.2.254:443 post-up iptables -t nat -A PREROUTING -p tcp --dport 636 -i eth2 -j DNAT --to 192.168.2.254:636 post-up iptables -t nat -A PREROUTING -p tcp --dport 2222 -i eth2 -j DNAT --to 192.168.2.254:2222 post-up iptables -t nat -A PREROUTING -p tcp --dport 8180 -i eth2 -j DNAT --to 192.168.2.254:8180 post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o eth2 -j MASQUERADE post-down iptables -t nat -D PREROUTING -p tcp --dport 25 -i eth2 -j DNAT --to 192.168.2.254:25 post-down iptables -t nat -D PREROUTING -p tcp --dport 80 -i eth2 -j DNAT --to 192.168.2.254:80 post-down iptables -t nat -D PREROUTING -p tcp --dport 389 -i eth2 -j DNAT --to 192.168.2.254:389 post-down iptables -t nat -D PREROUTING -p tcp --dport 443 -i eth2 -j DNAT --to 192.168.2.254:443 post-down iptables -t nat -D PREROUTING -p tcp --dport 636 -i eth2 -j DNAT --to 192.168.2.254:636 post-down iptables -t nat -D PREROUTING -p tcp --dport 2222 -i eth2 -j DNAT --to 192.168.2.254:2222 post-down iptables -t nat -D PREROUTING -p tcp --dport 8180 -i eth2 -j DNAT --to 192.168.2.254:8180 }}}[[BR]][[BR]] * vmbr3 * grau * Lehrernetz * 10.16.209.26 / 255.255.255.248 === Virtuelle Appliances === ==== OpenVZ 101 ==== Diese VM ist vorgesehen für einen zusätzlichen Dansguardian-Filter, derzeit ungenutzt. - NIC: vmbr1 (grün) - 10.32.1.?? ==== KVM 102 ==== IPCop - Kommunikationsserver der paedML-Linux. - NIC: - vmbr0 (grün) - 10.32.1.254 - vmbr1 (blau) - 172.16.32.254 - vmbr2 (rot) - 192.168.2.254 ==== OpenVZ 103 ==== Server für die Versorgung der Clients mit Images per Rembo - wird in der Zukunft durch Linbo ersetzt werden. - NIC: - vmbr1 (grün) - 10.32.1.252 ==== OpenVZ 104 ==== Proxy-Server für die Versorgung der Clients, die nicht in das Netzwerk aufgenommen sind. - NIC: vmbr1 (grün) - 10.32.1.251