wiki:AdminProxMox/Archiv_PMSchüler
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 1 (modified by bau, 14 years ago) ( diff )

--

ProxMoxS

Der !ProxMoxS ist eine Servermaschine 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.

NIC's / virtuelle Switche (bridges)

Eingebaut sind:

  • eth0 - onboard GB (auf vmbr0) manual
  • eth1 (auf vmbr1) manual
  • eth2 (auf vmbr2) manual
  • eth3 (auf vmbr3) 141.10.54.243/255.255.255.248
  • vmbr0 - grün - 10.32.1.253/255.255.240.0
  • vmbr1 - blau - 172.16.32.253/255.255.255.0
  • vmbr2 - rot - 192.168.3.1/255.255.255.0

Auf vmbr2 wird NAT mit Portweiterleitung (80,443,2222,25,8180) zu eth2 gemacht:

auto vmbr2
iface vmbr2 inet static
        address  192.168.3.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.3.0/24' -o eth2 -j MASQUERADE
	post-up iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth2 -j DNAT --to 192.168.3.3:80
        post-up iptables -t nat -A PREROUTING -p tcp --dport 443 -i eth2 -j DNAT --to 192.168.3.3:443
        post-up iptables -t nat -A PREROUTING -p tcp --dport 2222 -i eth2 -j DNAT --to 192.168.3.3:2222
        post-up iptables -t nat -A PREROUTING -p tcp --dport 25 -i eth2 -j DNAT --to 192.168.3.3:25        
        post-up iptables -t nat -A PREROUTING -p tcp --dport 8180 -i eth2 -j DNAT --to 192.168.3.3:8180        
        post-down iptables -t nat -D POSTROUTING -s '192.168.3.0/24' -o eth2 -j MASQUERADE
	post-down iptables -t nat -D PREROUTING -p tcp --dport 80 -i eth2 -j DNAT --to 192.168.3.3:80
        post-down iptables -t nat -D PREROUTING -p tcp --dport 443 -i eth2 -j DNAT --to 192.168.3.3:443
        post-down iptables -t nat -D PREROUTING -p tcp --dport 2222 -i eth2 -j DNAT --to 192.168.3.3:2222
        post-down iptables -t nat -D PREROUTING -p tcp --dport 25 -i eth2 -j DNAT --to 192.168.3.3:25
        post-down iptables -t nat -D PREROUTING -p tcp --dport 8180 -i eth2 -j DNAT --to 192.168.3.3:8180

  • vmbr3 - grau - 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.3.2

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
Note: See TracWiki for help on using the wiki.