Skip to content

How to open Firewall ports on VMs

Last validated:
View as Markdown

WHAT TO EXPECT

In this article, users will learn how to open ports on different OSs.

The installers and services open the ports their own component needs (for example, the xNIC's data port, UDP 9999 by default); see Network and Firewall Requirements. Ports you choose for your own applications or adaptor listeners are not opened.

To open up additional ports for producing/consuming multicast traffic, use the following commands:

RHEL-based

sudo firewall-cmd --add-port=<port>/udp --permanent
sudo systemctl restart firewalld

Windows

New-NetFirewallRule -Name 'rule_name' -DisplayName 'rule_name' -Enabled True -Direction Inbound -Protocol UDP -Action Allow -LocalPort 1234