Firewall Rules for Red Hat OpenStack Platform


Red Hat OpenStack Platform 12

List of required ports and protocols.

OpenStack Documentation Team

Abstract

This article describes the firewall rules created by the Red Hat OpenStack Platform director.

1. Firewall Rules for Red Hat OpenStack Platform

This article describes the firewall configuration created by the director for Red Hat OpenStack Platform. These ports are required for services running on the overcloud.

Important

It is recommended that you test service connectivity before moving your deployment into production. As part of this process, consider checking for any dropped traffic on all intermediary firewalls.

Note

In the tables below, certain port numbers are formatted as variables, such as IronicIPXEPort. These port numbers will be specific to your deployment and will have been defined in your environment files.

1.1. Reviewing firewall rules for Composable Roles

Red Hat OpenStack Platform director allows you to customize where certain OpenStack services are deployed. For example, you could deploy a standalone node that runs only the Identity Service (keystone). For more information, see the Composable Roles documentation: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/advanced_overcloud_customization/roles

2. Review the firewall rules for each role

Consider segmenting the network traffic that passes between standalone roles. For example, some deployments might want to use granular firewall rules to restrict traffic between standalone keystone nodes, or from one keystone node to a standalone Compute node. This approach would also be useful for spine-leaf networks, where the router can also be used to apply granular firewall rules.

To begin segmenting traffic for standalone roles, you will need to identify the firewall rules apply to each role. You can determine this by reviewing the services assigned to the role. Each service file in tripleo-heat-templates/puppet/services/* has an entry named tripleo.<service>.firewall_rules which describes the ports required for that service. You can extract this information from the templates using the following command:

find -L /usr/share/openstack-tripleo-heat-templates/ -type f | while read f;do if `grep -q firewall_rules $f`;then echo -e "\n $f " ; grep firewall_rules "$f" -A10;fi; done
Copy to Clipboard Toggle word wrap
Note

The following tables are formatted output from the above command, from a particular point in time. It would be good practice to confirm the settings in the YAML scripts, as they are subject to change.

2.1. TripleO Core

Expand
ServiceProtocolPortsNotes

core

UDP

4789

 

2.2. Ceph MDS

Expand
ServiceProtocolPortsNotes

ceph

TCP

6800-7300

 

2.3. Ceph Monitor service

Expand
ServiceProtocolPortsNotes

ceph

TCP

6789

 

2.4. Ceph OSD

Expand
ServiceProtocolPortsNotes

ceph

TCP

6800-7300

 

2.5. Ceph RadosGW service

Expand
ServiceProtocolPortsNotes

ceph_rgw

TCP

CephRgwInternal

Ceph RGW

2.6. MySQL Galera

Expand
ServiceProtocolPortsNotes

mysql_galera

TCP

873

MySQL

mysql_galera

TCP

3123

 

mysql_galera

TCP

3306

 

mysql_galera

TCP

4444

 

mysql_galera

TCP

4567

 

mysql_galera

TCP

4568

 

mysql_galera

TCP

9200

Galera-monitor

2.7. Redis

Expand
ServiceProtocolPortsNotes

redis

TCP

3124

 

redis

TCP

6379

Internal service coordination

redis

TCP

26379

 

2.8. RabbitMQ

Expand
ServiceProtocolPortsNotes

rabbitmq

TCP

3122

Rabbitmq

rabbitmq

TCP

4369

Rabbitmq

rabbitmq

TCP

5672

Rabbitmq

rabbitmq

TCP

25672

Rabbitmq

2.9. Mistral API

Expand
ServiceProtocolPortsNotes

mistral_api

TCP

8989

 

mistral_api

TCP

13989

 

2.10. Neutron L3 VRRP

Expand
ServiceProtocolPortsNotes

VRRP

VRRP

 

VRRP

2.11. Manila API

Expand
ServiceProtocolPortsNotes

manila

TCP

8786

Manila API

manila

TCP

13786

Manila API

2.12. AODH API

Expand
ServiceProtocolPortsNotes

aodh_api

TCP

8042

 

aodh_api

TCP

13042

 

2.13. Barbican API

Expand
ServiceProtocolPortsNotes

barbican_api

TCP

9311

 

barbican_api

TCP

13311

 

2.14. Glance API

Expand
ServiceProtocolPortsNotes

glance

TCP

9292

Glance API

glance

TCP

13292

Glance API (SSL)

2.15. OVN DB Server

Expand
ServiceProtocolPortsNotes

ovn_dbs

TCP

OVNNorthboundServerPort

 

ovn_dbs

TCP

OVNSouthboundServerPort

 

2.16. Gnocchi API

Expand
ServiceProtocolPortsNotes

gnocchi

TCP

8041

Gnocchi API

gnocchi

TCP

13041

Gnocchi API (SSL)

2.17. Ceph RBD Mirror

Expand
ServiceProtocolPortsNotes

ceph

TCP

6800-7300

 

2.18. RabbitMQ QDR

Expand
ServiceProtocolPortsNotes

rabbitmq

TCP

RabbitClientPort

 

2.19. Ceilometer API

Expand
ServiceProtocolPortsNotes

ceilometer

TCP

8777

Ceilometer API

ceilometer

TCP

13777

Ceilometer API (SSL)

2.20. Horizon

Expand
ServiceProtocolPortsNotes

horizon

TCP

80

Dashboard

horizon

TCP

443

Dashboard (SSL)

2.21. Ironic API

Expand
ServiceProtocolPortsNotes

ironic

TCP

6385

Ironic API

ironic

TCP

13385

Ironic API (SSL)

2.22. Memcached service

Expand
ServiceProtocolPortsNotes

memcached

TCP

11211

 

2.23. Ceph MDS

Expand
ServiceProtocolPortsNotes

ceph

TCP

6800-7300

 

2.24. Ceph Monitor service

Expand
ServiceProtocolPortsNotes

ceph

TCP

6789

 

2.25. Mistral API

Expand
ServiceProtocolPortsNotes

mistral_api

TCP

8989

 

mistral_api

TCP

13989

 

2.26. Ceph OSD

Expand
ServiceProtocolPortsNotes

ceph

TCP

6800-7300

 

2.27. Ceph RadosGW service

Expand
ServiceProtocolPortsNotes

ceph_rgw

TCP

CephRgwInternal

Ceph RGW

2.28. Cinder API

Expand
ServiceProtocolPortsNotes

cinder

TCP

8776

Cinder API

cinder

TCP

13776

Cinder API (SSL)

2.29. Ceilometer SNMP

Expand
ServiceProtocolPortsNotes

SNMP

UDP

161

Ceilometer

2.30. Ironic Conductor

Expand
ServiceProtocolPortsNotes

TFTP

UDP

69

 

HTTP

TCP

IronicIPXEPort

 

2.31. Ironic Inspector

Expand
ServiceProtocolPortsNotes

ironic_inspector

TCP

5050

 

2.32. keepalived VRRP

Expand
ServiceProtocolPortsNotes

VRRP

VRRP

 

VRRP

2.33. NTP

Expand
ServiceProtocolPortsNotes

ntp

UDP

123

NTP

2.34. Opencontrail DPDK

Expand
ServiceProtocolPortsNotes

opencontrail

TCP

8097

 

opencontrail

TCP

8085

 

2.35. Opencontrail TSN

Expand
ServiceProtocolPortsNotes

opencontrail

TCP

8097

 

2.36. Opencontrail vRouter

Expand
ServiceProtocolPortsNotes

opencontrail

TCP

8097

 

opencontrail

TCP

8085

 

2.37. Gnocchi Statsd

Expand
ServiceProtocolPortsNotes

gnocchi_statsd

UDP

8125

Network daemon for statistics

2.38. Keystone

Expand
ServiceProtocolPortsNotes

keystone

TCP

5000

Keystone Public API

keystone

TCP

13000

Keystone Public API (SSL)

keystone

TCP

35357

Keystone Admin API

keystone

TCP

13357

Keystone Admin API (SSL)

2.39. Neutron API

Expand
ServiceProtocolPortsNotes

neutron

TCP

9696

Neutron API

neutron

TCP

13696

Neutron API (SSL)

2.40. Cinder Volume iSCSI Initiator

Expand
ServiceProtocolPortsNotes

iSCSI

TCP

3260

 

2.41. MongoDB

Expand
ServiceProtocolPortsNotes

mongodb_config

TCP

27019

mongodb_config

mongodb_sharding

TCP

27018

mongodb_sharding

mongodb

TCP

27017

MongoDB

2.42. MySQL Galera

Expand
ServiceProtocolPortsNotes

mysql_galera

TCP

873

MySQL

mysql_galera

TCP

3306

 

mysql_galera

TCP

4444

 

mysql_galera

TCP

4567

 

mysql_galera

TCP

4568

 

mysql_galera

TCP

9200

Galera-monitor

2.43. Redis

Expand
ServiceProtocolPortsNotes

redis

TCP

6379

Internal service coordination

redis

TCP

26379

 

2.44. Nova API

Expand
ServiceProtocolPortsNotes

nova

TCP

8773

Nova EC2 API

nova

TCP

3773

Nova EC2 API (SSL)

nova

TCP

8774

Nova API

nova

TCP

13774

Nova API (SSL)

nova

TCP

8775

Nova Metadata

2.45. EC2 API

Expand
ServiceProtocolPortsNotes

ec2_api

TCP

8788

 

ec2_api

TCP

13788

 

2.46. etcd

Expand
ServiceProtocolPortsNotes

etcd

TCP

2379

 

etcd

TCP

2380

 

2.47. HAProxy

Expand
ServiceProtocolPortsNotes

haproxy_stats

TCP

1993

 

2.48. Neutron DHCP

Expand
ServiceProtocolPortsNotes

neutron_DHCP

UDP

67

Provisioning the Overcloud

neutron_DHCP

UDP

68

 

2.49. Heat CloudFormation API service

Expand
ServiceProtocolPortsNotes

heat

TCP

8000

Heat AWS CloudFormation-compatible API

heat

TCP

13800

Heat AWS CloudFormation-compatible API (SSL)

2.50. Heat AWS CloudWatch-compatible API

Expand
ServiceProtocolPortsNotes

heat

TCP

8003

Heat AWS CloudWatch-compatible API

heat

TCP

13003

Heat AWS CloudWatch-compatible API (SSL)

2.51. L2GW Agent Input

Expand
ServiceProtocolPortsNotes

neutron_l2gw_agent

TCP

L2gwAgentManagerTableListeningPort

 

2.52. Heat API

Expand
ServiceProtocolPortsNotes

heat

TCP

8004

Heat API Endpoint

heat

TCP

13004

Heat API Endpoint (SSL)

2.53. Neutron Nuage OVS Agent

Expand
ServiceProtocolPortsNotes

neutron_vxlan

UDP

4789

VXLAN

neutron_vxlan

TCP

NuageMetadataPort

VXLAN

2.54. Swift Proxy

Expand
ServiceProtocolPortsNotes

swift

TCP

8080

Swift Proxy

swift

TCP

13808

Swift Proxy (SSL)

2.55. Neutron OVS Agent

Expand
ServiceProtocolPortsNotes

neutron_vxlan

UDP

4789

VXLAN

neutron_vxlan

GRE

GRE

 

2.56. Swift Storage

Expand
ServiceProtocolPortsNotes

swift

TCP

873

Rsync

swift

TCP

6000

Object Server

swift

TCP

6001

Container Server

swift

TCP

6002

Account Server

2.57. Nova Libvirt

Expand
ServiceProtocolPortsNotes

nova_libvirt

TCP

16514

 

nova_libvirt

TCP

49152-49215

 

nova_libvirt

TCP

5900-6923

 

2.58. Nova Migration Target

Expand
ServiceProtocolPortsNotes

nova_migration_target

TCP

MigrationSshPort

MigrationSshPort is 2022 by default.

2.59. Nova Placement

Expand
ServiceProtocolPortsNotes

nova_placement

TCP

8778

 

nova_placement

TCP

13778

 

2.60. Nova VNC Proxy

Expand
ServiceProtocolPortsNotes

nova_vnc_proxy

TCP

6080

 

nova_vnc_proxy

TCP

13080

 

2.61. Octavia API

Expand
ServiceProtocolPortsNotes

octavia_api

TCP

9876

 

octavia_api

TCP

13876

 

2.62. OpenDaylight API

Expand
ServiceProtocolPortsNotes

opendaylight_api

TCP

6640

 

opendaylight_api

TCP

6653

 

opendaylight_api

TCP

2550

 

opendaylight_api

TCP

8185

 

2.63. OpenDaylight OVS Agent

Expand
ServiceProtocolPortsNotes

opendaylight_ovs

UDP

4789

VXLAN

opendaylight_ovs

GRE

GRE

 

2.64. OVN Controller

Expand
ServiceProtocolPortsNotes

ovn_controller

UDP

4789

neutron vxlan networks

ovn_controller

UDP

6081

neutron geneve networks

2.65. pacemaker

Expand
ServiceProtocolPortsNotes

pacemaker

TCP

2224

 

pacemaker

TCP

3121

 

pacemaker

TCP

21064

 

pacemaker

UDP

5405

 

2.66. pacemaker remote

Expand
ServiceProtocolPortsNotes

pacemaker

TCP

3121

 

2.67. Panko API

Expand
ServiceProtocolPortsNotes

panko_api

TCP

8977

 

panko_api

TCP

13977

 

2.68. RabbitMQ

Expand
ServiceProtocolPortsNotes

rabbitmq

TCP

4369

Rabbitmq

rabbitmq

TCP

5672

Rabbitmq

rabbitmq

TCP

25672

Rabbitmq

2.69. Sahara API

Expand
ServiceProtocolPortsNotes

sahara

TCP

8386

Sahara API

sahara

TCP

13386

Sahara API (SSL)

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat