TCP- & UDP-Ports erklärt
Ports sind die Türen, durch die Pakete Anwendungen erreichen.
Jedes TCP- und UDP-Paket trägt Quell- und Ziel-Portnummern (0-65535). Firewalls, DDoS-Filter und Hardening beginnen damit zu wissen, welche Ports offen sein sollen - und welche nicht.
Was sind Ports?
Kommunizieren zwei Hosts über IP, muss das Betriebssystem jedes Paket an die richtige Anwendung liefern. Portnummern identifizieren diesen Endpunkt. Ein Webserver auf Port 443 empfängt HTTPS; SSH lauscht auf Port 22.
Ports 0-1023 sind Well-known und von der IANA vergeben. 1024-49151 sind registrierte Dienste. 49152-65535 sind dynamisch/ephemeral - Browser und Clients nutzen sie temporär.
TCP- vs. UDP-Ports
TCP-Ports gehören zu verbindungsorientierten Sessions mit Handshake und Retransmission - HTTP, SSH, SMTP. UDP-Ports sind verbindungslos - DNS, NTP, QUIC und die meisten Game-Protokolle.
Viele DDoS-Angriffe zielen auf UDP, weil stateless Verarbeitung leichter zu fluten ist. TCP-Angriffe missbrauchen oft SYN-Floods oder Slow Connections auf Port 80/443. Guter Schutz profiliert Ports getrennt.
Well-known, registrierte und Gaming-Ports
Die Tabellen unten listen die Ports, die Betreiber auf Hosting-, Transit- und Gaming-Netzen am häufigsten sehen. Nutzen Sie sie für Firewall-Regeln, Dokumentation und Filter-Policy.
Well-known Ports (0-1023)
| Port | TCP | UDP | Name | Beschreibung |
|---|---|---|---|---|
| 20 | TCP | ftp-data | FTP data transfer | |
| 21 | TCP | UDP | ftp | FTP control channel |
| 22 | TCP | UDP | ssh | Secure Shell remote access |
| 23 | TCP | telnet | Unencrypted remote terminal | |
| 25 | TCP | smtp | Simple Mail Transfer Protocol | |
| 53 | TCP | UDP | dns | Domain name resolution |
| 67 | UDP | dhcp-server | DHCP server (BOOTP) | |
| 68 | UDP | dhcp-client | DHCP client | |
| 69 | UDP | tftp | Trivial File Transfer Protocol | |
| 80 | TCP | http | Hypertext Transfer Protocol | |
| 110 | TCP | pop3 | Post Office Protocol v3 | |
| 123 | UDP | ntp | Network Time Protocol | |
| 143 | TCP | UDP | imap | Internet Message Access Protocol |
| 161 | UDP | snmp | Simple Network Management Protocol | |
| 179 | TCP | bgp | Border Gateway Protocol | |
| 443 | TCP | https | HTTP over TLS | |
| 465 | TCP | smtps | SMTP over TLS (legacy) | |
| 587 | TCP | submission | Mail submission (STARTTLS) | |
| 993 | TCP | imaps | IMAP over TLS | |
| 995 | TCP | pop3s | POP3 over TLS |
Hinweis
Ports 0-1023 sind Well-known Ports und benötigen auf Unix-Systemen oft Root-Rechte. Die IANA vergibt offizielle Dienstnamen.
Registrierte Dienst-Ports
| Port | TCP | UDP | Name | Beschreibung |
|---|---|---|---|---|
| 1080 | TCP | socks | SOCKS proxy | |
| 1433 | TCP | mssql | Microsoft SQL Server | |
| 3306 | TCP | UDP | mysql | MySQL / MariaDB |
| 3389 | TCP | rdp | Remote Desktop Protocol | |
| 5432 | TCP | postgresql | PostgreSQL database | |
| 6379 | TCP | redis | Redis in-memory store | |
| 8080 | TCP | http-alt | Common alternate HTTP | |
| 8443 | TCP | https-alt | Common alternate HTTPS | |
| 27017 | TCP | mongodb | MongoDB default |
Typische Gaming- & Voice-Ports
| Port | TCP | UDP | Name | Beschreibung |
|---|---|---|---|---|
| 25565 | TCP | UDP | minecraft | Minecraft Java server |
| 27015 | TCP | UDP | source-engine | Counter-Strike / Source games |
| 30120 | TCP | UDP | fivem | FiveM (GTA V multiplayer) |
| 7777 | TCP | UDP | unreal | Unreal Engine / ARK (common) |
| 9987 | UDP | teamspeak3 | TeamSpeak 3 voice | |
| 19132 | UDP | minecraft-bedrock | Minecraft Bedrock | |
| 2456 | TCP | UDP | valheim | Valheim (common default) |
| 28015 | TCP | UDP | rust | Rust game server |
Hinweis
Game-Ports variieren je nach Host und Mod - das sind häufige Defaults, die oft Ziel von UDP-Floods und Amplification-Angriffen sind.
Port-FAQ
- Auf einer IP kann pro Protokoll (TCP/UDP) nur ein Prozess einen Port binden. Verschiedene IPs oder NAT können Nummern wiederverwenden. Load Balancer terminieren Verbindungen und leiten intern weiter.
Port-bewusste DDoS-Filterung aktivieren.
TMW Shield liefert Protokoll-Profile für Web, Mail, DNS, BGP und 20+ Game-Dienste - pro Port getunt, nicht eine generische UDP-Regel.