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!
要求通过网关连接时使用 Citrix Workspace™ app
您可以通过使用插件,要求用户在通过网关连接时使用 Citrix Workspace app。
要将插件部署到您的网关:
-
从 Citrix 下载 下载插件。
-
解压 zip 文件和 citrix-gateway-plugin.tar.gz。它包含一个 HTML 文件和一个 JavaScript 文件。
-
将文件复制到 NetScaler 网关的
/var/netscaler/gui/vpn/init下。
使用管理 GUI 进行配置
-
登录到 Netscaler® 管理 GUI。
-
创建一个响应程序操作,然后单击“添加”。

-
配置响应程序操作:
类型:使用 HTML 页面响应
路径:输入路径
/vpn/init/native-app-mandate.html -
创建一个响应程序策略。

-
配置响应程序策略:
操作:您在上面创建的操作的名称。
表达式:
HTTP.REQ.IS_VALID && HTTP.REQ.URL.ENDSWITH(".js").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("CitrixReceiver").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("CWAWEBVIEW").NOT && HTTP.REQ.HEADER("X-Requested-With").CONTAINS("com.citrix.Receiver").NOT && HTTP.REQ.HEADER("X-Requested-With").CONTAINS("XMLHttpRequest").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("AuthManager").NOT
-
导航到您要绑定响应程序策略的虚拟服务器。

-
绑定您创建的策略。

-
要验证其是否已正确配置,请打开网关 URL 以确认它显示“需要 Citrix Workspace app”屏幕。将 Netscaler URL 添加到 Citrix Workspace app,并确认它不显示“需要 Citrix Workspace app”屏幕。
使用 CLI 进行配置
要使用 CLI 配置要求使用 Citrix Workspace app 功能,请执行以下操作:
-
创建一个带 HTML 文件的响应程序操作(您可以在 GUI 中编辑配置)
add responder action respond_with_html_act respondwithhtmlpage sample_page -responseStatusCode 200 <!--NeedCopy--> -
创建一个响应程序策略,用于处理来自 Web 浏览器而非 Citrix Workspace app 的请求。
add responder policy respond_with_html_pol "HTTP.REQ.IS_VALID && HTTP.REQ.URL.ENDSWITH(".js").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("CitrixReceiver").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("CWAWEBVIEW").NOT && HTTP.REQ.HEADER("X-Requested-With").CONTAINS("com.citrix.Receiver").NOT && HTTP.REQ.HEADER("X-Requested-With").CONTAINS("XMLHttpRequest").NOT && HTTP.REQ.HEADER("User-Agent").CONTAINS("AuthManager").NOT" respond_with_html_act <!--NeedCopy--> -
将策略绑定到 VPN 虚拟服务器
bind vpn vserver vpn_vs -policy respond_with_html_pol -priority 100 -gotoPriorityExpression END -type AAA_REQUEST <!--NeedCopy-->
共享
共享
在本文中
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.