Firewalls und Standardports¶
On some deployments, such as ones where restrictive firewalls are in place, you might need to manually configure a firewall to permit OpenStack service traffic.
To manually configure a firewall, you must permit traffic through the ports that each OpenStack service uses. This table lists the default ports that each OpenStack service uses:
OpenStack Dienst |
Standard-Ports |
---|---|
Anwendungskatalog ( |
8082 |
Backup Service ( |
9090 |
Big Data Processing Framework ( |
8386 |
Block Storage (cinder) |
8776 |
Clusterdienst ( |
8777 |
Compute ( |
8774 |
Compute Ports für den Zugriff auf Konsolen der virtuellen Maschinen |
5900-5999 |
Compute VNC proxy for browsers (openstack-nova-novncproxy) |
6080 |
Compute VNC Proxy für traditionelle VNC Clients (openstack-nova-xvpvncproxy) |
6081 |
Container Infrastructure Management ( |
9511 |
Container Service ( |
9517 |
Data processing Dienst ( |
8386 |
Database service ( |
8779 |
DNS service ( |
9001 |
High Availability Service ( |
15868 |
Identity service ( |
5000 |
Image-Dienst ( |
9292 |
Key Manager service ( |
9311 |
Loadbalancer service ( |
9876 |
Netzwerk ( |
9696 |
NFV Orchestration service ( |
9890 |
Objekt Storage ( |
6000, 6001, 6002 |
Orchestrierung ( |
8004 |
Orchestrierung AWS CloudFormation-kompatible API ( |
8000 |
Orchestrierung AWS CloudWatch-kompatible API ( |
8778 |
Placement API ( |
8003 |
Proxy Port für HTML5 Konsolen, vom Compute-Dienst verwendet |
6082 |
Rating service ( |
8889 |
Registration service ( |
5050 |
Resource Reservation service ( |
1234 |
Root Cause Analysedienst ( |
8999 |
Shared File Systems service ( |
8786 |
Telemetry alarming service ( |
8042 |
Telemetry event service ( |
8977 |
Workflow Dienst ( |
8989 |
To function properly, some OpenStack components depend on other, non-OpenStack services. For example, the OpenStack dashboard uses HTTP for non-secure communication. In this case, you must configure the firewall to allow traffic to and from HTTP.
This table lists the ports that other OpenStack components use:
Dienst |
Standard-Port |
Verwenden von |
---|---|---|
HTTP |
80 |
OpenStack dashboard ( |
HTTP alternativ |
8080 |
OpenStack Object Storage ( |
HTTPS |
443 |
Jeder OpenStack Dienst, der für SSL eingerichtet ist, speziell sicherer Zugang zum Dashboard. |
rsync |
873 |
OpenStack Objekt Storage. Erforderlich. |
iSCSI Target |
3260 |
OpenStack Block Storage. Required when using LVM with iSCSI target (tgt, LIO, iSER) |
NVMe-oF target |
4420 |
OpenStack Block Storage. Required when using LVM with NVMe-oF target (nvmet). |
MySQL Datenbankdienst |
3306 |
Die meisten OpenStack Komponenten. |
Message Broker (AMQP traffic) |
5672 |
OpenStack Block Storage, Netzwerk, Orchestrierung und Compute. |
On some deployments, the default port used by a service may fall within the defined local port range of a host. To check a host’s local port range:
$ sysctl net.ipv4.ip_local_port_range
If a service’s default port falls within this range, run the following program to check if the port has already been assigned to another application:
$ lsof -i :PORT
Konfigurieren Sie den Dienst für einen anderen Port, falls der Standardport bereits von einer anderen Applikation verwendet wird.