> 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/ras-rest-api-guide/api-reference/infrastructure/gateway/gateway-default-settings.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Gateway Default Settings

## Get

> Retrieve the RAS Secure Gateway Default settings.

```json
{"openapi":"3.0.1","info":{"title":"Parallels RAS - REST API v1.0","version":"1.0"},"paths":{"/api/GatewayDefaultSettings":{"get":{"tags":["0-Infrastructure/Secure Gateways//Default settings"],"summary":"Get","description":"Retrieve the RAS Secure Gateway Default settings.","operationId":"bf1f76c7-1a4b-4a6a-8579-da7f3f685f26","parameters":[{"name":"SiteId","in":"query","description":"Site ID for which to retrieve RAS Secure Gateway Default settings (optional)","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/GatewayDefaultSiteSettings"}}}},"401":{"description":"Unauthorized","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}},"components":{"schemas":{"GatewayDefaultSiteSettings":{"type":"object","properties":{"mode":{"$ref":"#/components/schemas/GatewayMode"},"normalModeForwarding":{"type":"boolean","description":"<para type=\"description\">Whether forwarding requests to HTTP server are enabled or disabled.</para>"},"forwardGatewayServers":{"type":"string","description":"<para type=\"description\">One or multiple (separated by comma) Forwarding RAS Secure Gateway Servers.</para>","nullable":true},"preferredConnectionBrokerId":{"type":"integer","description":"<para type=\"description\">ID of the Preferred Connection Broker.</para>","format":"int32"},"forwardHttpServers":{"type":"string","description":"<para type=\"description\">One or multiple (separated by comma) Forwarding HTTP Servers.</para>","nullable":true},"enableGatewayPort":{"type":"boolean","description":"<para type=\"description\">Whether a custom RAS Secure Gateway port is enabled or disabled.</para>"},"gatewayPort":{"type":"integer","description":"<para type=\"description\">A custom RAS Secure Gateway port number.</para>","format":"int32"},"onlyAllowAcmeHttp":{"type":"boolean","description":"<para type=\"description\">Whether to ignore all incoming requests except for Acme ones received on 'GatewayPort'</para>"},"enableRDP":{"type":"boolean","description":"<para type=\"description\">Whether a custom RDP port is enabled or disabled.</para>"},"rdpPort":{"type":"integer","description":"<para type=\"description\">A custom RDP port number.</para>","format":"int32"},"broadcast":{"type":"boolean","description":"<para type=\"description\">Whether the 'Broadcast RAS Secure Gateway Address' option is enabled or disabled.</para>"},"enableRDPUDP":{"type":"boolean","description":"<para type=\"description\">Whether the 'RDP UDP Data Tunneling' option is enabled or disabled.</para>"},"enableDeviceManagerPort":{"type":"boolean","description":"<para type=\"description\">Whether the 'Device Manager Port' option is enabled or disabled.</para>"},"dosPro":{"type":"boolean","description":"<para type=\"description\">Whether the 'RDP DOS Attack Filter' option is enabled or disabled.</para>"},"enableSSL":{"type":"boolean","description":"<para type=\"description\">Whether SSL is enabled or disabled.</para>"},"sslPort":{"type":"integer","description":"<para type=\"description\">SSL port number.</para>","format":"int32"},"minSSLVersion":{"$ref":"#/components/schemas/AcceptedSSLVersion"},"cipherStrength":{"$ref":"#/components/schemas/CipherStrength"},"cipher":{"type":"string","description":"<para type=\"description\">Cipher string.</para>","nullable":true},"cipherPreference":{"type":"boolean","description":"<para type=\"description\">Enable or disable Use ciphers according to server preference.</para>"},"certificateId":{"type":"integer","description":"<para type=\"description\">The ID of the specific Certificate to be used.</para>","format":"int32"},"enableHSTS":{"type":"boolean","description":"<para type=\"description\">Whether HSTS is enabled or disabled.</para>"},"hstsMaxAge":{"type":"integer","description":"<para type=\"description\">Set Maximum Age of HSTS.</para>","format":"int32"},"hstsIncludeSubdomains":{"type":"boolean","description":"<para type=\"description\">Whether HSTS to include subdomains option is enabled or disabled.</para>"},"hstsPreload":{"type":"boolean","description":"<para type=\"description\">Whether HSTS to preload option is enabled or disabled.</para>"},"enableUserPortal":{"type":"boolean","description":"<para type=\"description\">Whether User Portal connectivity on the RAS Secure Gateway is enabled or disabled.</para>"},"userPortalPort":{"type":"integer","description":"<para type=\"description\">A custom User Portal port number.</para>","format":"int32"},"launchMethod":{"$ref":"#/components/schemas/LaunchMethod"},"allowLaunchMethod":{"type":"boolean","description":"<para type=\"description\">Allow users to select a resource launch method.</para>"},"allowAppsInNewTab":{"type":"boolean","description":"<para type=\"description\">Allow users to start applications in a new browser tab.</para>"},"usePreWin2000LoginFormat":{"type":"boolean","description":"<para type=\"description\">Whether the 'Use Pre Windows 2000 Login Format' option is enabled or disabled.</para>"},"allowEmbed":{"type":"boolean","description":"<para type=\"description\">Allow embedding of Web Client into other web pages.</para>"},"useAutoKeyboardDetect":{"type":"boolean","description":"<para type=\"description\">Use automatic keyboard layout detection.</para>"},"fileTransferMode":{"$ref":"#/components/schemas/FileTransferControlMode"},"clipboardDirection":{"$ref":"#/components/schemas/ClipboardDirections"},"allowCORS":{"type":"boolean","description":"<para type=\"description\">Allow cross-origin resource sharing.</para>"},"browserCacheTimeInMonths":{"type":"integer","description":"<para type=\"description\">How long should the browser preserve the cache (in months).</para>","format":"int32"},"allowedDomainsForCORS":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Allowed domains for cross-origin resource sharing.</para>","nullable":true},"useClientIPDetectionService":{"type":"boolean","description":"<para type=\"description\">Use Client IP detection service.</para>"},"clientIPPDetectionServiceURL":{"type":"string","description":"<para type=\"description\">Client IP detection service URL.</para>","nullable":true},"detectClientMode":{"$ref":"#/components/schemas/DetectClientMode"},"clientDetectionTimeout":{"type":"integer","description":"<para type=\"description\">Client detection timeout in seconds.</para>","format":"int32"},"enableAlternateNLBHost":{"type":"boolean","description":"<para type=\"description\">Whether alternate NLB Host is enabled or disabled.</para>"},"alternateNLBHost":{"type":"string","description":"<para type=\"description\">Alternate NLB Host name.</para>","nullable":true},"enableAlternateNLBPort":{"type":"boolean","description":"<para type=\"description\">Whether alternate NLB Port is enabled or disabled.</para>"},"alternateNLBPort":{"type":"integer","description":"<para type=\"description\">Alternate NLB Port number.</para>","format":"int32"},"enableWyseSupport":{"type":"boolean","description":"<para type=\"description\">Whether support for Wyse Thin Client OS is enabled or disabled.</para>"},"disableWyseCertWarn":{"type":"boolean","description":"<para type=\"description\">Whether warning if server certificate is not verified is enabled or disabled.</para>"},"securityMode":{"$ref":"#/components/schemas/GatewaySecurityMode"},"macAllowExcept":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Lists all the Security 'MAC Allow Except' MAC addresses.</para>","nullable":true},"macAllowOnly":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Lists all the Security 'MAC Allow Only' MAC addresses.</para>","nullable":true},"blockAccessStandardRASSessions":{"type":"boolean","description":"<para type=\"description\">Blocks new authentication to standard RAS sessions, preventing application listing and remote session launch. Existing sessions are not affected.</para>"},"blockAccessUserPortal":{"type":"boolean","description":"<para type=\"description\">Blocks access to the User Portal user interface, including portal login and related pages such as cookie policy and download. Other APIs may still be used.</para>"},"blockAccessSessionLaunchWebAPI":{"type":"boolean","description":"<para type=\"description\">Blocks new session launch through the Web API. Existing sessions are not affected.</para>"},"blockAccessSessionLaunchCBAPI":{"type":"boolean","description":"<para type=\"description\">Blocks new session launch through the Connection Broker API. Existing sessions are not affected.</para>"},"blockAccessDeprecatedWebAPI":{"type":"boolean","description":"<para type=\"description\">Blocks deprecated Web APIs to reduce security and compatibility risks.</para>"},"connectionLimits":{"$ref":"#/components/schemas/GWConnectionLimits"},"webAPISecret":{"type":"string","description":"<para type=\"description\">The secret used in the JWT (JSON Web Token) for data exchanged between the caller and User portal.</para>","nullable":true},"webRequestsURL":{"type":"string","description":"<para type=\"description\">The URL for Web requests.</para>","nullable":true},"webCookie":{"type":"string","description":"<para type=\"description\">The Web Cookie Name used by RAS.</para>","nullable":true},"useSecureWebCookie":{"type":"boolean","description":"<para type=\"description\">Adds the secure attribute to the cookie to the Web Cookie.</para>"},"allowWebSocketsWithMissingOrigin":{"type":"boolean","description":"<para type=\"description\">Allow Web Sockets with missing origin.</para>"},"siteId":{"type":"integer","description":"<para type=\"description\">Site ID to which the default settings are applied.</para>","format":"int32"}},"additionalProperties":false,"description":"<para type=\"synopsis\">RAS Secure Gateway Default Site Settings</para>\r\n<para type=\"description\"></para>"},"GatewayMode":{"enum":[["0 = Normal","1 = Forwarding"]],"type":"string","description":"<para type=\"synopsis\">RAS Secure GateWay Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"AcceptedSSLVersion":{"enum":[["2 = TLSv1","3 = TLSv1_1","4 = TLSv1_2","5 = TLSv1_3"]],"type":"string","description":"<para type=\"synopsis\">Accepted SSL Versions</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"CipherStrength":{"enum":[["0 = Low","1 = Medium","2 = High","3 = Custom"]],"type":"string","description":"<para type=\"synopsis\">Cipher Strength</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"LaunchMethod":{"enum":[["0 = ParallelsClientAndWebClient","1 = ParallelsClient","2 = WebClient"]],"type":"string","description":"<para type=\"synopsis\">LaunchMethod</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"FileTransferControlMode":{"enum":[["0 = Disabled","1 = ClientToServer","2 = ServerToClient","3 = Bidirectional"]],"type":"string","description":"<para type=\"synopsis\">File Transfer Control modes.</para>\r\n<para type=\"description\"></para>","format":"int32"},"ClipboardDirections":{"enum":[["0 = None","1 = ClientToServer","2 = ServerToClient","3 = Bidirectional"]],"type":"string[Flag]","description":"<para type=\"synopsis\">Clipboard Direction Type.</para>\r\n<para type=\"description\"></para>","format":"int32"},"DetectClientMode":{"enum":[["0 = Automatic","1 = Manual"]],"type":"string","description":"<para type=\"synopsis\">Detect Client Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"GatewaySecurityMode":{"enum":[["0 = AllowAllExcept","1 = AllowOnly"]],"type":"string","description":"<para type=\"synopsis\">Security Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"GWConnectionLimits":{"type":"object","properties":{"enabled":{"type":"boolean","description":"<para type=\"description\">Whether the gateway limits are enabled or disabled.</para>"},"blockedTimeout":{"type":"integer","description":"<para type=\"description\">Client: The blocked timeout in minutes.</para>","format":"int32"},"allClientConnectionsLimit":{"type":"integer","description":"<para type=\"description\">Client: The maximum number of All Client Connections allowed (0 = Unlimited).</para>","format":"int32"},"backendLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of Backend connections allowed (0 = Unlimited).</para>","format":"int32"},"allConnectionsLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of All Connections allowed (0 = Unlimited).</para>","format":"int32"},"excludedIPv4s":{"type":"array","items":{"$ref":"#/components/schemas/IP4Range"},"description":"<para type=\"description\">Lists the excluded IPv4 addresses.</para>","nullable":true},"userPortalLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of User Portal connections allowed (0 = Unlimited).</para>","format":"int32"},"httpLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of HTTP connections allowed (0 = Unlimited).</para>","format":"int32"},"wyseLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of WYSE connections allowed (0 = Unlimited).</para>","format":"int32"},"clientLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of Client connections allowed (0 = Unlimited).</para>","format":"int32"},"clientNewAuthLimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of Client NewAuth connections allowed (0 = Unlimited).</para>","format":"int32"},"clientTunnelingViaAPILimit":{"type":"integer","description":"<para type=\"description\">Global: The maximum number of Client Tunneling via API connections allowed (0 = Unlimited).</para>","format":"int32"},"excludedIPv6s":{"type":"array","items":{"$ref":"#/components/schemas/IP6Range"},"description":"<para type=\"description\">Lists the excluded IPv6 addresses.</para>","nullable":true}},"additionalProperties":false,"description":"<para type=\"synopsis\">RAS Secure Gateway Connection Limits</para>\r\n<para type=\"description\"></para>"},"IP4Range":{"type":"object","properties":{"from":{"type":"string","nullable":true},"to":{"type":"string","nullable":true}},"additionalProperties":false,"description":"<para type=\"synopsis\">The IPv4 range</para>\r\n<para type=\"description\"></para>"},"IP6Range":{"type":"object","properties":{"from":{"type":"string","nullable":true},"to":{"type":"string","nullable":true}},"additionalProperties":false,"description":"<para type=\"synopsis\">The IPv6 range</para>\r\n<para type=\"description\"></para>"},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}
```

## Update

> Update the RAS Secure Gateway default settings. For each setting, the request has a corresponding parameter. To modify a setting, specify a matching parameter and its value.

```json
{"openapi":"3.0.1","info":{"title":"Parallels RAS - REST API v1.0","version":"1.0"},"paths":{"/api/GatewayDefaultSettings":{"put":{"tags":["0-Infrastructure/Secure Gateways//Default settings"],"summary":"Update","description":"Update the RAS Secure Gateway default settings. For each setting, the request has a corresponding parameter. To modify a setting, specify a matching parameter and its value.","operationId":"ebc769c8-54a7-4505-a255-0ed4fcf85e67","parameters":[{"name":"SiteId","in":"query","description":"Site ID for which to update the RAS Secure Gateway Default settings (optional)","schema":{"type":"integer","format":"int32"}}],"requestBody":{"description":"RAS Secure Gateway settings","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/SetGatewayDefaultSettings"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}},"components":{"schemas":{"SetGatewayDefaultSettings":{"type":"object","properties":{"mode":{"$ref":"#/components/schemas/GatewayMode"},"normalModeForwarding":{"type":"boolean","description":"<para type=\"description\">Forward requests to HTTP server.</para>","nullable":true},"forwardGatewayServers":{"maxLength":255,"minLength":0,"type":"string","description":"<para type=\"description\">One or multiple (separated by comma) Forwarding Gateway Servers.</para>\r\n<para type=\"description\">E.g. localhost:80, web1</para>","nullable":true},"autoPreferredConnectionBroker":{"type":"boolean","description":"<para type=\"description\">Set preferred Connection Broker Automatically.</para>","default":false},"preferredConnectionBrokerId":{"type":"integer","description":"<para type=\"description\">The preferred Connection Broker ID.</para>","format":"int32","nullable":true},"forwardHttpServers":{"maxLength":255,"minLength":0,"type":"string","description":"<para type=\"description\">One or multiple (separated by comma) Forwarding HTTP Servers.</para>\r\n<para type=\"description\">E.g. localhost:81, web1</para>","nullable":true},"enableGatewayPort":{"type":"boolean","description":"<para type=\"description\">Enable or disable a custom RAS Secure Gateway port.</para>\r\n<para type=\"description\">To specify a custom port, set this parameter to True and use the GatewayPort parameter to specify the port number.</para>","nullable":true},"gatewayPort":{"type":"integer","description":"<para type=\"description\">A custom Gateway port number. For this port to take effect, the EnableGatewayPort parameters must be set to $True.</para>","format":"int32","nullable":true},"onlyAllowAcmeHttp":{"type":"boolean","description":"<para type=\"description\">Whether to ignore all incoming requests except for Acme ones received on 'GatewayPort'</para>","nullable":true},"enableRDP":{"type":"boolean","description":"<para type=\"description\">Enable or disable a custom RDP port.</para>\r\n<para type=\"description\">To specify a custom port number, use the RDPPort parameter.</para>","nullable":true},"rdpPort":{"type":"integer","description":"<para type=\"description\">A custom RDP port number. For this port to take effect, the EnableRDPPort parameter must be set to True.</para>","format":"int32","nullable":true},"broadcast":{"type":"boolean","description":"<para type=\"description\">Enable or disable the 'Broadcast RAS Secure Gateway Address' option.</para>","nullable":true},"enableRDPUDP":{"type":"boolean","description":"<para type=\"description\">Enable or disable the 'RDP UDP Data Tunneling' option.</para>","nullable":true},"enableDeviceManagerPort":{"type":"boolean","description":"<para type=\"description\">Enable or disable the 'Device Manager Port' option.</para>","nullable":true},"dosPro":{"type":"boolean","description":"<para type=\"description\">Enable or disable the 'RDP DOS Attack Filter' option.</para>","nullable":true},"enableSSL":{"type":"boolean","description":"<para type=\"description\">Enable or disable SSL on the port specified in the SSLPort parameter.</para>","nullable":true},"sslPort":{"type":"integer","description":"<para type=\"description\">SSL port number. To enable the port, set the EnableSSL port parameter to True.</para>","format":"int32","nullable":true},"minSSLVersion":{"$ref":"#/components/schemas/AcceptedSSLVersion"},"cipherStrength":{"$ref":"#/components/schemas/CipherStrength"},"cipher":{"maxLength":255,"minLength":0,"type":"string","description":"<para type=\"description\">Cipher string.</para>","nullable":true},"cipherPreference":{"type":"boolean","description":"<para type=\"description\">Enable or disable Use ciphers according to server preference.</para>","nullable":true},"autoCertificate":{"type":"boolean","description":"<para type=\"description\">Set Certificate Automatically.</para>","default":false},"certificateId":{"type":"integer","description":"<para type=\"description\">The Certificate ID.</para>","format":"int32","nullable":true},"enableHSTS":{"type":"boolean","description":"<para type=\"description\">Enable or disable HSTS.</para>\r\n<para type=\"description\">To specify a custom HSTS Age, set this parameter to True and use the HSTSMaxAge parameter to specify the HSTS maximum age.</para>","nullable":true},"hstsMaxAge":{"type":"integer","description":"<para type=\"description\">Specifies the HSTS maximum age.</para>","format":"int32","nullable":true},"hstsIncludeSubdomains":{"type":"boolean","description":"<para type=\"description\">Enable or disable the HSTS sub-domains.</para>","nullable":true},"hstsPreload":{"type":"boolean","description":"<para type=\"description\">Enable or disable the HSTS preload.</para>","nullable":true},"enableUserPortal":{"type":"boolean","description":"<para type=\"description\">Enable or disable User Portal connectivity on the Gateway.</para>","nullable":true},"userPortalPort":{"type":"integer","description":"<para type=\"description\">A custom User Portal port number.</para>","format":"int32","nullable":true},"launchMethod":{"$ref":"#/components/schemas/LaunchMethod"},"allowLaunchMethod":{"type":"boolean","description":"<para type=\"description\">Allow users to select a resource launch method.</para>","nullable":true},"allowAppsInNewTab":{"type":"boolean","description":"<para type=\"description\">Allow users to start applications in a new browser tab.</para>","nullable":true},"usePreWin2000LoginFormat":{"type":"boolean","description":"<para type=\"description\">Enable or disable the 'Use Pre Windows 2000 Login Format' option.</para>","nullable":true},"allowEmbed":{"type":"boolean","description":"<para type=\"description\">Allow embedding of Web Client into other web pages.</para>","nullable":true},"useAutoKeyboardDetect":{"type":"boolean","description":"<para type=\"description\">Use automatic keyboard layout detection.</para>","nullable":true},"fileTransferMode":{"$ref":"#/components/schemas/FileTransferControlMode"},"clipboardDirection":{"$ref":"#/components/schemas/ClipboardDirections"},"allowCORS":{"type":"boolean","description":"<para type=\"description\">Allow cross-origin resource sharing.</para>","nullable":true},"allowedDomainsForCORS":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Allowed domains for cross-origin resource sharing.</para>","nullable":true},"useClientIPDetectionService":{"type":"boolean","description":"<para type=\"description\">Use Client IP detection service.</para>","nullable":true},"clientIPPDetectionServiceURL":{"type":"string","description":"<para type=\"description\">Client IP detection service URL.</para>","nullable":true},"detectClientMode":{"$ref":"#/components/schemas/DetectClientMode"},"clientDetectionTimeout":{"type":"integer","description":"<para type=\"description\">Client detection timeout in seconds.</para>","format":"int32","nullable":true},"browserCacheTimeInMonths":{"type":"integer","description":"<para type=\"description\">How long should the browser preserve the cache (in months).</para>","format":"int32","nullable":true},"enableAlternateNLBHost":{"type":"boolean","description":"<para type=\"description\">Enable or disable Alternate NLB host name specified in the EnableAlternateNLBHost parameter.</para>","nullable":true},"alternateNLBHost":{"maxLength":255,"minLength":1,"type":"string","description":"<para type=\"description\">Alternate NLB host name. To enable the host name, set the EnableAlternateNLBHost port parameter to True.</para>","nullable":true},"enableAlternateNLBPort":{"type":"boolean","description":"<para type=\"description\">Enable or disable Alternate NLB on the port specified in the AlternateNLBPort parameter.</para>","nullable":true},"alternateNLBPort":{"type":"integer","description":"<para type=\"description\">Alternate NLB port number. To enable the port, set the EnableAlternateNLBPort port parameter to True.</para>","format":"int32","nullable":true},"enableWyseSupport":{"type":"boolean","description":"<para type=\"description\">Enable or disable Wyse ThinOS support.</para>","nullable":true},"disableWyseCertWarn":{"type":"boolean","description":"<para type=\"description\">Enable or disable the warning if server certificate is not verified.</para>","nullable":true},"securityMode":{"$ref":"#/components/schemas/GatewaySecurityMode"},"macAllowExcept":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Specifies the Security 'MAC Allow Except' MAC addresses.</para>","nullable":true},"macAllowOnly":{"type":"array","items":{"type":"string"},"description":"<para type=\"description\">Specifies the Security 'MAC Allow Only' MAC addresses.</para>","nullable":true},"blockAccessStandardRASSessions":{"type":"boolean","description":"<para type=\"description\">Blocks new authentication to standard RAS sessions, preventing application listing and remote session launch. Existing sessions are not affected.</para>","nullable":true},"blockAccessUserPortal":{"type":"boolean","description":"<para type=\"description\">Blocks access to the User Portal user interface, including portal login and related pages such as cookie policy and download. Other APIs may still be used.</para>","nullable":true},"blockAccessSessionLaunchWebAPI":{"type":"boolean","description":"<para type=\"description\">Blocks new session launch through the Web API. Existing sessions are not affected. BlockAccessSessionLaunchWebAPI enforces blocking of deprecated Web APIs.</para>","nullable":true},"blockAccessSessionLaunchCBAPI":{"type":"boolean","description":"<para type=\"description\">Blocks new session launch through the Connection Broker API. Existing sessions are not affected.</para>","nullable":true},"blockAccessDeprecatedWebAPI":{"type":"boolean","description":"<para type=\"description\">Blocks deprecated Web APIs to reduce security and compatibility risks. The BlockAccessDeprecatedWebAPI parameter can only be set if BlockAccessSessionLaunchWebAPI is disabled.</para>","nullable":true},"limitsEnabled":{"type":"boolean","description":"<para type=\"description\">Whether the gateway limits are enabled or disabled.</para>","nullable":true},"blockedTimeout":{"type":"integer","description":"<para type=\"description\">Client: The blocked timeout in minutes.</para>","format":"int32","nullable":true},"allClientConnectionsLimit":{"type":"integer","description":"<para type=\"description\">Client: The maximum number of All Client Connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"userPortalLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of User Portal connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"httpLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of HTTP connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"wyseLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of WYSE connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"clientLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of Client connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"clientNewAuthLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of Client NewAuth connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"clientTunnelingViaAPILimit":{"type":"integer","description":"<para type=\"description\">The maximum number of Client Tunneling via API connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"backendLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of Backend connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"allConnectionsLimit":{"type":"integer","description":"<para type=\"description\">The maximum number of All Connections allowed (0 = Unlimited).</para>","format":"int32","nullable":true},"webAPISecret":{"type":"string","description":"<para type=\"description\">The secret used in the JWT (JSON Web Token) for data exchanged between the caller and User portal.</para>","nullable":true},"webRequestsURL":{"maxLength":255,"minLength":0,"type":"string","description":"<para type=\"description\">Set a URL for Web requests.</para>\r\n<para type=\"description\">This is the URL that will open when a user enters the IP address</para>\r\n<para type=\"description\">of the RAS Secure Gateway server in a web browser.</para>\r\n<para type=\"description\">For the URL to work, the gateway mode must be set to Normal.</para>","nullable":true},"webCookie":{"maxLength":255,"minLength":0,"type":"string","description":"<para type=\"description\">Set the Web Cookie Name used by RAS.</para>","nullable":true},"useSecureWebCookie":{"type":"boolean","description":"<para type=\"description\">Enable or disable the addition of the secure attribute to the cookie to the Web Cookie.</para>","nullable":true},"allowWebSocketsWithMissingOrigin":{"type":"boolean","description":"<para type=\"description\">Enable or disable the use of Web Sockets with missing origin.</para>","nullable":true}},"additionalProperties":false,"description":"<para type=\"synopsis\">Update Gateway default settings</para>\r\n<para type=\"description\"></para>"},"GatewayMode":{"enum":[["0 = Normal","1 = Forwarding"]],"type":"string","description":"<para type=\"synopsis\">RAS Secure GateWay Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"AcceptedSSLVersion":{"enum":[["2 = TLSv1","3 = TLSv1_1","4 = TLSv1_2","5 = TLSv1_3"]],"type":"string","description":"<para type=\"synopsis\">Accepted SSL Versions</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"CipherStrength":{"enum":[["0 = Low","1 = Medium","2 = High","3 = Custom"]],"type":"string","description":"<para type=\"synopsis\">Cipher Strength</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"LaunchMethod":{"enum":[["0 = ParallelsClientAndWebClient","1 = ParallelsClient","2 = WebClient"]],"type":"string","description":"<para type=\"synopsis\">LaunchMethod</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"FileTransferControlMode":{"enum":[["0 = Disabled","1 = ClientToServer","2 = ServerToClient","3 = Bidirectional"]],"type":"string","description":"<para type=\"synopsis\">File Transfer Control modes.</para>\r\n<para type=\"description\"></para>","format":"int32"},"ClipboardDirections":{"enum":[["0 = None","1 = ClientToServer","2 = ServerToClient","3 = Bidirectional"]],"type":"string[Flag]","description":"<para type=\"synopsis\">Clipboard Direction Type.</para>\r\n<para type=\"description\"></para>","format":"int32"},"DetectClientMode":{"enum":[["0 = Automatic","1 = Manual"]],"type":"string","description":"<para type=\"synopsis\">Detect Client Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"GatewaySecurityMode":{"enum":[["0 = AllowAllExcept","1 = AllowOnly"]],"type":"string","description":"<para type=\"synopsis\">Security Mode</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}
```


---

# 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/ras-rest-api-guide/api-reference/infrastructure/gateway/gateway-default-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.
