This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Create a network policy
You create and edit policies from a Workspace settings > Network policy page at the scope you manage: platform, organization, or project.
You need the Security permission set to Manage. See Who can manage network policies.
Create the policy
- Go to Workspace settings > Network policy for your scope.
-
Select Create policy.

- Enter a Policy name and a Description. Both are required. Use a description that explains what the policy allows or blocks, so other administrators understand its intent.
- Choose how to configure the rest of the policy:
- Leave the Expert mode toggle off to use the guided form. See Basic mode.
- Turn the Expert mode toggle on to edit the policy as YAML. See Expert mode.
- (Optional) Select Test policy to validate the policy before you save it. See Test a policy.
- Save the policy.
The basic form and the expert YAML editor describe the same policy. You can switch between them with the Expert mode toggle while you work.
Basic mode
Basic mode gives you a guided form for the most common settings.
- Set Restrict traffic to selected resources:
- Off — The policy monitors traffic. Everything is allowed and logged.
- On — The policy blocks all outbound traffic except attached resources and the resources on your allow list.
- If you turned restriction on, build the allow list:
- Select Add domain to allow a domain. Optionally turn on Include subdomains to also allow every subdomain of that domain.
- Select Add IP address to allow a single IPv4 address or a CIDR range, for example
10.0.0.0/24.
- If your platform uses an external proxy, a custom endpoints via proxy section appears. Use it to list the domains and IP addresses that the workspace can reach through the proxy. This section is hidden when no external proxy is configured.
- Save the policy.
Expert mode
Expert mode replaces the form with a YAML editor, giving you control over every field. Turn on the Expert mode toggle to use it.
For every field, its type, and its validation rules, see Network policy fields.
name: Backend services policy
description: Restrict workspaces to internal package mirrors and the corporate API.
restrictedTraffic: true
whitelistedDomains:
- domain: pypi.internal.example.com
includeSubdomains: false
- domain: example.com
includeSubdomains: true
whitelistedIps:
- 10.0.0.0/24
- 192.168.1.50
<!--NeedCopy-->
Build the allow list
When a policy restricts traffic, the workspace can reach only:
- Attached resources — Any resource attached to the workspace, such as repositories, SSH services, and HTTP services, is always reachable. Attached resources keep working without extra configuration.
- Allowed domains — Every domain on the allow list.
- Allowed IP addresses — Every IPv4 address or CIDR range on the allow list.
How domains are matched
- A domain entry with Include subdomains turned off matches only that exact domain.
- A domain entry with Include subdomains turned on matches the domain itself and any subdomain. For
example,
example.comwith subdomains enabled allowsexample.comand*.example.com, such asapi.example.com.
How IP addresses are matched
Enter a single IPv4 address, for example 192.168.1.50, or a CIDR range, for example 10.0.0.0/24. The
policy editor validates the format before you can save. IPv6 addresses are not accepted.
Related information
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.