> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/integrations/remote-access/sonicwall.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# SonicWall VPN

Open SonicWall VPN and SonicWall NetExtender connections from Remote Desktop Manager with a VPN entry, and start them before your remote sessions.

SonicWall VPN integrates with Remote Desktop Manager through the ***VPN/tunnel/gateway*** entry type, with the ***SonicWall VPN*** type for the SonicWall Global VPN Client and the SonicWall NetExtender type for SSL VPN tunnels.

## Prerequisites

* The ***SonicWall VPN*** type is available on Remote Desktop Manager Windows and macOS. The SonicWall NetExtender type is available on Remote Desktop Manager Windows and Linux.
* For the ***SonicWall VPN*** type on Windows, the SonicWall Global VPN Client installed on the computer. On macOS, the SonicWall Mobile Connect application installed on the computer.
* For the SonicWall NetExtender type, SonicWall NetExtender installed on the computer. On Linux, NetExtender 10.3 or later, which provides the `nxcli` command.
* For the ***SonicWall VPN*** type, the name of the SonicWall profile. For the SonicWall NetExtender type, the host of the NetExtender server. For both, the username and password of your SonicWall account.

## What you can do

* Open a SonicWall Global VPN Client connection by profile name (***SonicWall VPN*** type), with the username and password stored in the entry.
* Open a SonicWall NetExtender connection to a host (SonicWall NetExtender type), with the username, domain and password stored in the entry, or be asked for the password every time.
* Accept the certificate of the VPN server automatically, and delete the NetExtender profile when the VPN closes.
* Wait after starting the client before the VPN opens or closes (***Wait time*** and ***Initial delay***).
* Run commands after the VPN connects and before it disconnects, wait for an IP address on a network adapter, and choose how the VPN reconnects.
* Close the VPN automatically after a delay, and switch Remote Desktop Manager to offline mode while the VPN is connected.
* Open the VPN before a session with the ***VPN link*** type of the session entry, and share it between several sessions through a folder.

## Configure SonicWall VPN

### Create the SonicWall VPN entry

1. Click ***Add new entry*** – ***VPN/tunnel/gateway*** – ***Other*** – ***SonicWall VPN***. On macOS, click ***Add new entry*** – ***VPN/tunnel/gateway*** – ***SonicWall VPN***.
2. Enter a name for the entry and choose a folder.
3. In the ***Connection*** tab, enter the ***Profile***, which is the name of your SonicWall profile.
4. Enter the ***Username*** and the ***Password*** of your SonicWall account. They are unavailable when the credentials of the entry come from a source other than the entry itself.
5. On macOS, enter the ***Host***, the ***Realm*** and the ***Domain*** of the SonicWall server.
6. Set the ***Wait time*** in seconds that Remote Desktop Manager waits after starting the client to open or close the VPN.
7. Optionally, in the ***Advanced*** tab, set ***Go offline on connection***, ***VPN reconnect mode*** and the other options of the VPN.
8. Click ***Save*** (***Create*** on macOS).

### Create the SonicWall NetExtender entry

1. Click ***Add new entry*** – ***VPN/tunnel/gateway*** – ***Other*** – ***SonicWall NetExtender***. On Linux, click ***Add new entry*** – ***VPN/tunnel/gateway*** – ***VPN clients*** – ***SonicWall NetExtender***.
2. Enter a name for the entry and choose a folder.
3. In the ***Connection*** tab, enter the ***Host*** of the NetExtender server.
4. Optionally, enter a ***Name*** for the connection. When it is empty, the connection is named after the entry.
5. Enter the ***Username***, the ***Domain*** and the ***Password***. Check ***Always ask for password*** to be asked for the password every time.
6. Optionally, set the ***Initial delay*** in seconds that Remote Desktop Manager waits after starting the connection.
7. Optionally, check ***Automatically delete profile on close***, or check ***Automatically accept certificate*** and set the ***Timeout*** in seconds to wait for the connection.
8. Optionally, in the ***Advanced*** tab, set ***Go offline on connection***, ***VPN reconnect mode*** and the other options of the VPN.
9. Click ***Save*** (***Create*** on macOS).

## Use SonicWall VPN

### Open the VPN

1. Open the VPN entry. Remote Desktop Manager starts the SonicWall client and opens the connection.
2. To close the VPN automatically, set ***Close connection after*** in the ***Advanced*** tab of the entry before you open it.

### Open the VPN before a session

1. Create or open the session entry that needs the VPN.
2. In the entry properties, select ***Connection*** – ***VPN/tunnel/gateway***.
3. Set ***Connect*** to ***Always connect***, or to another mode that matches when the VPN must open.
4. Set ***VPN provider*** to ***VPN link*** and select the SonicWall entry for your operating system in ***Windows***, ***macOS*** or ***Linux***. See [Configure a VPN for multiple sessions](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/configure-a-vpn-for-multiple-sessions.md).
5. Open the session.

## Integration level

SonicWall VPN is an integration level 2 – Moderate support integration. See [Integration levels](https://docs.devolutions.net/resources/integration-levels).

#### See also

* [SonicWall VPN and SonicWall NetExtender entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/sonicwall-vpn-and-sonicwall-netextender.md)
* [VPN/tunnel/gateway](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/common-settings/vpn-tunnel-gateway.md)
* [Configure a VPN for multiple sessions](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/configure-a-vpn-for-multiple-sessions.md)
* [SonicWall global VPN client](https://docs.devolutions.net/rdm/knowledge-base/troubleshooting-articles/sonicwall-global-vpn-client.md)


---

# 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.devolutions.net/rdm/integrations/remote-access/sonicwall.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.
