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.

Changes between Version 1 and Version 2 of AdminServerKwrs


Ignore:
Timestamp:
Oct 26, 2012, 7:41:12 AM (14 years ago)
Author:
bau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminServerKwrs

    v1 v2  
    1111
    1212* Server:
    13         * eth0 / onboard RTL8111/8168 / grün / SchülerKWRS auf vmbr0
    14         * eth1 / Intel100 (tulip) (unten) / rot / BelWUE-Netz / 141.10.54.244
    15         * eth2 / Realtek100 (mitte) / blau / 172.
    16         * eth3 / IntelGB (oben) / grau / Lehrer auf vmbr3
     13  * eth0
     14    * onboard RTL8111/8168
     15    * grün
     16    * SchülerKWRS auf vmbr0
     17    * 10.32.1.253
     18
     19  * eth1
     20    * Intel100 (tulip) (unten)
     21    * rot
     22    * BelWUE-Netz
     23    * portforwarding auf vmbr1
     24    * 141.10.54.244
     25
     26  * eth2
     27    * Realtek100 (mitte)
     28    * blau
     29    * WLAN auf vmbr2
     30    * 192.168.2.1
     31
     32  * eth3
     33    * IntelGB (oben)
     34    * grau
     35    * Lehrer auf vmbr3
     36    * 10.16.209.5
     37
     38* Bridges (wie virtuelle Netzwerkswitche)
     39
     40  * vmbr0
     41    * grün
     42    * Schüler KWRS
     43    * 10.32.X,Y
     44    * IPCop (VM100): 10.32.1.254
     45    * paedml (VM101): 10.32.1.1
     46    * proxmoxtgs: 10.32.1.253
     47
     48  * vmbr1
     49    * rot
     50    * Internetanbindung an BelWUE über Cisco-Router(141.10.54.241)
     51    * Portforwarding, so wird nur eine IP benötigt
     52    * 192.168.1.X
     53    * IPCop (VM100): 192.168.1.254
    1754
    1855
     56  * vmbr2
     57    * blau
     58    * WLAN der KWRS
     59    * IP?
     60    * IPCop (VM100):
     61
     62  * vmbr3
     63    * grau
     64    * Lehrernetz des Schulzentrums
     65    * 10.16.209.X
     66    * proxmoxkwrs: 10.16.209.5
     67    * paedml (VM101): 10.16.209.6
     68
     69
     70* Port-Forwarding auf vmbr1
     71
     72{{{
     73auto vmbr1
     74iface vmbr1 inet static
     75        address  192.168.1.1
     76        netmask  255.255.255.0
     77        bridge_ports none
     78        bridge_stp off
     79        bridge_fd 0
     80        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
     81        post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o eth1 -j MASQUERADE
     82        post-up iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth1 -j DNAT --to 192.168.1.254:80
     83        post-up iptables -t nat -A PREROUTING -p tcp --dport 443 -i eth1 -j DNAT --to 192.168.1.254:443
     84        post-up iptables -t nat -A PREROUTING -p tcp --dport 2222 -i eth1 -j DNAT --to 192.168.1.254:2222
     85        post-up iptables -t nat -A PREROUTING -p tcp --dport 25 -i eth1 -j DNAT --to 192.168.1.254:25       
     86        post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o eth1 -j MASQUERADE
     87        post-down iptables -t nat -D PREROUTING -p tcp --dport 80 -i eth1 -j DNAT --to 192.168.1.254:80
     88        post-down iptables -t nat -D PREROUTING -p tcp --dport 443 -i eth1 -j DNAT --to 192.168.1.254:443
     89        post-down iptables -t nat -D PREROUTING -p tcp --dport 2222 -i eth1 -j DNAT --to 192.168.1.254:2222
     90        post-down iptables -t nat -D PREROUTING -p tcp --dport 25 -i eth1 -j DNAT --to 192.168.1.254:25
     91}}}