> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pdfm-ug/parallels-desktop-for-mac-27-users-guide/advanced-topics/shared-network-settings.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Shared Network Settings

{% hint style="info" %}
**Note:** Shared network settings are available in Parallels Desktop for Mac Pro and Business/Enterprise Editions only.
{% endhint %}

To change the shared networking settings, select the **Network** tab of Parallels Desktop Preferences and click **Shared**. You will see the following window:

<figure><img src="https://content.gitbook.com/content/hVLphlNWs82OS4cXatMx/blobs/1SNBUqIlPrwCcCtfOFTf/Screenshot%202024-02-01%20at%2023.54.44.png" alt="" width="528"><figcaption></figcaption></figure>

In this window, you can make the necessary changes to the settings of the Parallels DHCP servers for IPv4 and IPv6. These servers, enabled by default, automatically assign IP addresses to your virtual machines operating in the shared networking mode. To disable any of these servers, clear the corresponding option.

For more information about configuring shared networking, refer to [**Share Network Access between macOS and Windows**](https://docs.parallels.com/landing/pdfm-ug/parallels-desktop-for-mac-27-users-guide/use-windows-on-your-mac/connecting-to-the-internet-or-a-network/sharing-network-access-between-macos-and-windows.md).

### Port Forwarding

{% hint style="info" %}
**Note:** Port forwarding is only available in Parallels Desktop for Mac Pro and Business/Enterprise Editions only.
{% endhint %}

Normally, virtual machines set to operate in the shared networking mode cannot be accessed from external computers. The port forwarding functionality allows computers on your local network and on the Internet to transfer data to any of your virtual machines that use the shared networking mode. The data sent to a specific port on your Mac will be redirected to a specific port of your virtual machine according to the port-forwarding rule.

To add a port forwarding rule:

1. Click the **Add** button (+) below the **Port forwarding rules** list.
2. In the displayed window, do the following:
   * In the **Protocol** field, specify the port type you want to use for establishing network connections. You can choose between the **TCP** or **UDP** port types.
   * In the **Source Port** field, type the number of the incoming port on your Mac.
   * In the **Forward to** section, indicate the name or IP address of the virtual machine you want to connect.
   * In the **Destination Port** field, type the port on the virtual machine to which the data will be transferred.<br>

     <figure><img src="https://content.gitbook.com/content/hVLphlNWs82OS4cXatMx/blobs/q53H7duQllaWv2MFmxio/Screenshot%202024-02-01%20at%2023.56.08.png" alt=""><figcaption></figcaption></figure>
3. Click **OK** to add the rule.

When the rule is added, use the following IP address combination for external connections to your virtual machine: `<you Mac's IP address>:<Incoming port>`.

<figure><img src="https://content.gitbook.com/content/hVLphlNWs82OS4cXatMx/blobs/185lDI8HGHl9siDXtrs7/image.png" alt="" width="563"><figcaption></figcaption></figure>

To edit a rule, select it in the **Port forwarding rules** list, click the **Edit** button, modify the necessary settings, and click **OK** to apply them.

To remove a port forwarding rule, select it in the **Port forwarding rules** list and click the **Remove** button (-).

To restore the default settings, click **Restore Defaults**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pdfm-ug/parallels-desktop-for-mac-27-users-guide/advanced-topics/shared-network-settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
