<br />
<b>Deprecated</b>:  The each() function is deprecated. This message will be suppressed on further calls in <b>/home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php</b> on line <b>456</b><br />
# Network Security Groups

Network Security Groups (NSGs) serve as centralized firewall policy managers, enabling the filtering of network traffic to and from virtual network resources within a given [<mark style="color:blue;">Virtual Data Center (VDC)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-data-center-vdc).

An NSG contains bidirectional security firewall rules that allow ingress (incoming) and egress (outgoing) network traffic for [<mark style="color:blue;">Network Interface Cards (NICs)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#network-interface-card-nic) or [<mark style="color:blue;">Virtual Machine (VM)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-machine-vm) resources configured as NSG members. For each rule, you can specify the source IP address, destination IP address, port, protocol, etc.

## Product Overview

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Network Security Groups</strong></mark></td><td>Learn more about its functionality, features, and benefits.</td><td><a href="network-security-groups/overview">overview</a></td></tr></tbody></table>

## Quick Links

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>DCD How-Tos</strong></mark></td><td>Create, configure, and manage Network Security Groups within the DCD.</td><td><a href="network-security-groups/how-tos">how-tos</a></td></tr><tr><td><mark style="color:blue;"><strong>API How-Tos</strong></mark></td><td>Create, configure, and manage Network Security Groups through the API.</td><td><a href="network-security-groups/api-how-tos">api-how-tos</a></td></tr></tbody></table>

## Developer Tools

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Network Security Groups API</strong></mark></td><td>Cloud API documentation for Network Security Groups.</td><td><a href="https://api.ionos.com/docs/cloud/v6/#tag/Security-Groups">https://api.ionos.com/docs/cloud/v6/#tag/Security-Groups</a></td></tr><tr><td><mark style="color:blue;"><strong>Network Security Groups SDKs</strong></mark></td><td>SDK documentation for Network Security Groups.</td><td><a href="https://docs.ionos.com/cloud/reference/software-development-kits/sdks/cloud-api-sdks">https://docs.ionos.com/cloud/reference/software-development-kits/sdks/cloud-api-sdks</a></td></tr><tr><td><mark style="color:blue;"><strong>Config Management Tools</strong></mark></td><td>Config Management Tools for Network Security Groups.</td><td><a href="https://docs.ionos.com/cloud/reference/config-management-tools/config-management-tools">https://docs.ionos.com/cloud/reference/config-management-tools/config-management-tools</a></td></tr></tbody></table>

## Frequently Asked Questions (FAQ)

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>FAQ</strong></mark></td><td>Get answers to the most commonly encountered questions about Network Security Groups.</td><td><a href="network-security-groups/nsg-faqs">nsg-faqs</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/security/network-security-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
