How to open Firewall ports on VMs

Prev Next

WHAT TO EXPECT

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

The installer script will automatically open ports. For example, for xNIC, 10800 and 9999 will be open.

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