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 13 and Version 14 of PaedmlAnpassungen


Ignore:
Timestamp:
Oct 5, 2013, 2:13:21 PM (13 years ago)
Author:
bau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PaedmlAnpassungen

    v13 v14  
    66= Firewall-Einstellungen in ''/etc/init.d/linuxmuster-base''  =
    77
    8 in der Funktion start_firewall nach :
     8Für die LTSP_Server müssen in der Firewll Freigaben gemacht werden. Das passiert am Ende der Datei im Abschnitt start und restart:
    99
    1010{{{
    11       # accept ipcop
    12       iptables -A IN-$IFACE -s $ipcopip/32 -j ACCEPT
    13 }}}
    14 
    15 einfügen:
    16 
    17 {{{
    18       # accept ipcop
    19       iptables -A IN-$IFACE -s $ipcopip/32 -j ACCEPT
    20 
     11workaround(){
    2112      # accept proxy
    22       iptables -A IN-$IFACE -s 10.32.1.251/32 -j ACCEPT
     13      iptables -A IN-eth1-ALLOWED -s 10.32.1.251/32 -j ACCEPT
    2314
    2415      # accept ProxMoxPaedml
    25       iptables -A IN-$IFACE -s 10.32.1.2/32 -j ACCEPT
     16      iptables -A IN-eth1-ALLOWED -s 10.32.1.2/32 -j ACCEPT
    2617
    2718      # accept LTSP-SERVER-KVM (proxmoxltsp1-proxmoxltsp7)
    28       iptables -A IN-$IFACE -s 10.32.2.101/32 -j ACCEPT
    29       iptables -A IN-$IFACE -s 10.32.2.102/32 -j ACCEPT
    30       iptables -A IN-$IFACE -s 10.32.2.103/32 -j ACCEPT
    31       iptables -A IN-$IFACE -s 10.32.2.104/32 -j ACCEPT
    32       iptables -A IN-$IFACE -s 10.32.2.105/32 -j ACCEPT
    33       iptables -A IN-$IFACE -s 10.32.2.106/32 -j ACCEPT
    34       iptables -A IN-$IFACE -s 10.32.2.107/32 -j ACCEPT
     19      iptables -A IN-eth1-ALLOWED -s 10.32.2.101/32 -j ACCEPT
     20      iptables -A IN-eth1-ALLOWED -s 10.32.2.102/32 -j ACCEPT
     21      iptables -A IN-eth1-ALLOWED -s 10.32.2.103/32 -j ACCEPT
     22      iptables -A IN-eth1-ALLOWED -s 10.32.2.104/32 -j ACCEPT
     23      iptables -A IN-eth1-ALLOWED -s 10.32.2.105/32 -j ACCEPT
     24      iptables -A IN-eth1-ALLOWED -s 10.32.2.106/32 -j ACCEPT
     25      iptables -A IN-eth1-ALLOWED -s 10.32.2.107/32 -j ACCEPT
    3526
    3627      # accept LTSP-SERVER (ltsp1-ltsp7)
    37       iptables -A IN-$IFACE -s 10.32.2.1/32 -j ACCEPT
    38       iptables -A IN-$IFACE -s 10.32.2.2/32 -j ACCEPT
    39       iptables -A IN-$IFACE -s 10.32.2.3/32 -j ACCEPT
    40       iptables -A IN-$IFACE -s 10.32.2.4/32 -j ACCEPT
    41       iptables -A IN-$IFACE -s 10.32.2.5/32 -j ACCEPT
    42       iptables -A IN-$IFACE -s 10.32.2.6/32 -j ACCEPT
    43       iptables -A IN-$IFACE -s 10.32.2.7/32 -j ACCEPT
     28      iptables -A IN-eth1-ALLOWED -s 10.32.2.1/32 -j ACCEPT
     29      iptables -A IN-eth1-ALLOWED -s 10.32.2.2/32 -j ACCEPT
     30      iptables -A IN-eth1-ALLOWED -s 10.32.2.3/32 -j ACCEPT
     31      iptables -A IN-eth1-ALLOWED -s 10.32.2.4/32 -j ACCEPT
     32      iptables -A IN-eth1-ALLOWED -s 10.32.2.5/32 -j ACCEPT
     33      iptables -A IN-eth1-ALLOWED -s 10.32.2.6/32 -j ACCEPT
     34      iptables -A IN-eth1-ALLOWED -s 10.32.2.7/32 -j ACCEPT
    4435
    4536      # accept Boot-Sticks (1-4)
    46       iptables -A IN-$IFACE -s 10.32.2.201/32 -j ACCEPT
    47       iptables -A IN-$IFACE -s 10.32.2.202/32 -j ACCEPT
    48       iptables -A IN-$IFACE -s 10.32.2.203/32 -j ACCEPT
    49       iptables -A IN-$IFACE -s 10.32.2.204/32 -j ACCEPT
     37      iptables -A IN-eth1-ALLOWED -s 10.32.2.201/32 -j ACCEPT
     38      iptables -A IN-eth1-ALLOWED -s 10.32.2.202/32 -j ACCEPT
     39      iptables -A IN-eth1-ALLOWED -s 10.32.2.203/32 -j ACCEPT
     40      iptables -A IN-eth1-ALLOWED -s 10.32.2.204/32 -j ACCEPT
     41}
     42
     43
     44RC=0
     45
     46case "$1" in
     47
     48 start)
     49  start_firewall ; RC="$?"
     50  workaround ;
     51  ;;
     52
     53 stop)
     54  stop_firewall ; RC="$?"
     55  ;;
     56
     57 restart)
     58  stop_firewall ; RC="$?"
     59  if [ "$RC" = "0" ]; then
     60   start_firewall ; RC="$?"
     61  fi
     62  workaround ;
     63  ;;
     64
     65  reload)
     66   reload_firewall ; RC="$?"
     67   workaround ;
     68
     69  ;;
    5070
    5171}}}
    52 
    5372
    5473