---
title: "How to open Firewall ports on VMs"
slug: "how-to-open-firewall-ports-on-rhel-based-vms"
updated: 2025-12-23T14:49:12Z
published: 2025-12-23T14:49:12Z
canonical: "docs.swxtch.io/how-to-open-firewall-ports-on-rhel-based-vms"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swxtch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to open Firewall ports on VMs

> [!NOTE]
> **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

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

## Windows

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