Änderungen von Dokument Samba4 Verzeichnisdienst direkt im Internet freigeben (ohne Stream via rev-proxy)
Zuletzt geändert von Jonas Mayer am 2022/05/23 10:48
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -11,7 +11,7 @@ 11 11 (% style="color:#000000" %)##DNAT ext dmz:172.28.29.2:1636 tcp 636## 12 12 ))) 13 13 14 -(% style="color:#000000" %)Im Anschluß daran starten Sie mit folgendem Befehl die Shorewall neu14 +(% style="color:#000000" %)Im Anschluß daran starten Sie mit folgendem Befehl die Firewall neu 15 15 16 16 (% class="box" %) 17 17 ((( ... ... @@ -62,8 +62,8 @@ 62 62 # - Webuntis Server in Österreich IP: 213.208.138.146 63 63 ##(% style="color:#e74c3c" %)## SOURCEIP="213.23.76.144 213.23.76.123 195.34.83.83 87.130.28.26" 64 64 IP_LOGOSRV_DMZ=172.28.29.2 65 - IP_SAMBA4_SERVERNET=172.28.28.30##(%%) 66 -\\(% style="color:#000000" %) ##for ipaddr in $SOURCEIP65 + IP_SAMBA4_SERVERNET=172.28.28.30##(%%)## 66 +\\(% style="color:#000000" %) for ipaddr in $SOURCEIP 67 67 do 68 68 echo -n "Adding custom rules to allow ldaps connections (tcp/1636) from host '${ipaddr}' and redirect to 'samba4-ad:636'... " 69 69 $ipt -t nat -I PREROUTING -i dmz -p tcp -s ${ipaddr} -d ${IP_LOGOSRV_DMZ} ~-~-dport 1636 -j DNAT ~-~-to-destination ${IP_SAMBA4_SERVERNET}:636 ... ... @@ -77,7 +77,7 @@ 77 77 echo "Benutzung: $0 {start|restart}" 78 78 exit 1 79 79 ;; 80 -esac## 80 +esac(%%)## 81 81 ))) 82 82 83 83 ... ... @@ -85,8 +85,8 @@ 85 85 86 86 (% class="box" %) 87 87 ((( 88 -(% style="color:#000000" %)##SOURCEIP=" 87.130.28.26" 89 -(% style="color:#000000" %) ##IP_LOGOSRV_DMZ=172.28.29.2##(% style="color:#e74c3c" %)##<- (ifconfig in logosrv und Eintrag "DMZ" anschauen##(%%)##88 +(% style="color:#000000" %)##SOURCEIP=" 87.130.28.26" ##(% style="color:#e74c3c" %)## <- SBE IP, da wird eine zusätzliche gewhitelistet, die öffentliche ip der moodle Instanz##(%%)## 89 +(% style="color:#000000" %)IP_LOGOSRV_DMZ=172.28.29.2 (% style="color:#e74c3c" %)<- (ifconfig in logosrv und Eintrag "DMZ" anschauen(%%) 90 90 (% style="color:#000000" %)IP_SAMBA4_SERVERNET=172.28.28.30 (% style="color:#e74c3c" %) <- ifconfig in Sambacontainer und Eintrag "servernet" anschauen(%%)## 91 91 ))) 92 92