In dieser Anleitung wird ein FTP-Server auf einem Windows Server 2025 eingerichtet, der ausschließlich im INTRANET erreichbar ist. Der Zugriff aus dem Internet wird gezielt blockiert.
Install-WindowsFeature Web-FTP-Server -IncludeManagementTools
| Parameter | Wert |
|---|---|
| FTP-Name | FIRMA-FTP |
| Physischer Pfad | C:\FTP-Root |
| IP-Adresse | 192.168.100.10 |
| Port | 21 |
| SSL | Kein SSL |
| Authentifizierung | Standard (AD-Konten) |
| Autorisierung | Alle Benutzer – Lesen und Schreiben |
New-Item -ItemType Directory -Path C:\FTP-Root\Verwaltung
New-Item -ItemType Directory -Path C:\FTP-Root\IT
New-Item -ItemType Directory -Path C:\FTP-Root\Vertrieb
New-Item -ItemType Directory -Path C:\FTP-Root\Public
New-NetFirewallRule -DisplayName "FTP INTRANET" `
-Direction Inbound `
-Protocol TCP `
-LocalPort 21 `
-RemoteAddress 192.168.100.0/24 `
-Action Allow
New-NetFirewallRule -DisplayName "FTP BLOCK INTERNET" `
-Direction Inbound `
-Protocol TCP `
-LocalPort 21 `
-RemoteAddress Any `
-Action Block
ftp 192.168.100.10
dir
get test.txt
put upload.txt
| Test | Ergebnis |
|---|---|
| Port 21 intern erreichbar | OK |
| Anmeldung mit Benutzer | OK |
| Datei-Download | OK |
| Datei-Upload | OK |
| Zugriff von Internet | Blockiert |
Der FTP-Server läuft stabil innerhalb des internen Netzwerks und ist gleichzeitig von außen abgeschottet. Damit entsteht eine sichere, kontrollierte Dateiübertragungslösung für das INTRANET.