Fortinet white logo
Fortinet white logo

CLI Reference

config ztna web-portal

config ztna web-portal

Configure ztna web-portal.

config ztna web-portal
    Description: Configure ztna web-portal.
    edit <name>
        set auth-portal [disable|enable]
        set auth-rule {string}
        set auth-virtual-host {string}
        set clipboard [enable|disable]
        set cookie-age {integer}
        set customize-forticlient-download-url [enable|disable]
        set decrypted-traffic-mirror {string}
        set default-window-height {integer}
        set default-window-width {integer}
        set display-bookmark [enable|disable]
        set display-history [enable|disable]
        set display-status [enable|disable]
        set focus-bookmark [enable|disable]
        set forticlient-download [enable|disable]
        set forticlient-download-method [direct|ssl-vpn]
        set heading {string}
        set host {string}
        set log-blocked-traffic [disable|enable]
        set macos-forticlient-download-url {var-string}
        set policy-auth-sso [enable|disable]
        set theme [jade|neutrino|...]
        set vip {string}
        set vip6 {string}
        set windows-forticlient-download-url {var-string}
    next
end

config ztna web-portal

Parameter

Description

Type

Size

Default

auth-portal

Enable/disable authentication portal.

option

-

disable

Option

Description

disable

Disable authentication portal.

enable

Enable authentication portal.

auth-rule

Authentication Rule.

string

Maximum length: 35

auth-virtual-host

Virtual host for authentication portal.

string

Maximum length: 79

clipboard

Enable to support RDP/VPC clipboard functionality.

option

-

enable

Option

Description

enable

Enable support of RDP/VNC clipboard.

disable

Disable support of RDP/VNC clipboard.

cookie-age

Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit.

integer

Minimum value: 0 Maximum value: 525600

60

customize-forticlient-download-url

Enable support of customized download URL for FortiClient.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

decrypted-traffic-mirror

Decrypted traffic mirror.

string

Maximum length: 35

default-window-height

Screen height.

integer

Minimum value: 0 Maximum value: 65535

768

default-window-width

Screen width.

integer

Minimum value: 0 Maximum value: 65535

1024

display-bookmark

Enable to display the web portal bookmark widget.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

display-history

Enable to display the web portal user login history widget.

option

-

disable **

Option

Description

enable

Enable setting.

disable

Disable setting.

display-status

Enable to display the web portal status widget.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

focus-bookmark

Enable to prioritize the placement of the bookmark section over the quick-connection section in the ztna web-portal.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

forticlient-download

Enable/disable download option for FortiClient.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

forticlient-download-method

FortiClient download method.

option

-

direct

Option

Description

direct

Download via direct link.

ssl-vpn

Download via SSL-VPN.

heading

Web portal heading message.

string

Maximum length: 31

ZTNA Portal

host

Virtual or real host name.

string

Maximum length: 79

log-blocked-traffic

Enable/disable logging of blocked traffic.

option

-

enable

Option

Description

disable

Do not log all traffic denied by this ZTNA web-proxy.

enable

Log all traffic denied by this ZTNA web-proxy.

macos-forticlient-download-url

Download URL for Mac FortiClient.

var-string

Maximum length: 1023

name

ZTNA proxy name.

string

Maximum length: 79

policy-auth-sso

Enable policy sso authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

theme

Web portal color scheme.

option

-

security-fabric

Option

Description

jade

Jade theme.

neutrino

Neutrino theme.

mariner

Mariner theme.

graphite

Graphite theme.

melongene

Melongene theme.

jet-stream

Jet Stream theme.

security-fabric

Security Fabric theme.

dark-matter

Dark Matter theme.

onyx

Onyx theme.

eclipse

Eclipse theme.

vip

Virtual IP name.

string

Maximum length: 79

vip6

Virtual IPv6 name.

string

Maximum length: 79

windows-forticlient-download-url

Download URL for Windows FortiClient.

var-string

Maximum length: 1023

** Values may differ between models.

config ztna web-portal

config ztna web-portal

Configure ztna web-portal.

config ztna web-portal
    Description: Configure ztna web-portal.
    edit <name>
        set auth-portal [disable|enable]
        set auth-rule {string}
        set auth-virtual-host {string}
        set clipboard [enable|disable]
        set cookie-age {integer}
        set customize-forticlient-download-url [enable|disable]
        set decrypted-traffic-mirror {string}
        set default-window-height {integer}
        set default-window-width {integer}
        set display-bookmark [enable|disable]
        set display-history [enable|disable]
        set display-status [enable|disable]
        set focus-bookmark [enable|disable]
        set forticlient-download [enable|disable]
        set forticlient-download-method [direct|ssl-vpn]
        set heading {string}
        set host {string}
        set log-blocked-traffic [disable|enable]
        set macos-forticlient-download-url {var-string}
        set policy-auth-sso [enable|disable]
        set theme [jade|neutrino|...]
        set vip {string}
        set vip6 {string}
        set windows-forticlient-download-url {var-string}
    next
end

config ztna web-portal

Parameter

Description

Type

Size

Default

auth-portal

Enable/disable authentication portal.

option

-

disable

Option

Description

disable

Disable authentication portal.

enable

Enable authentication portal.

auth-rule

Authentication Rule.

string

Maximum length: 35

auth-virtual-host

Virtual host for authentication portal.

string

Maximum length: 79

clipboard

Enable to support RDP/VPC clipboard functionality.

option

-

enable

Option

Description

enable

Enable support of RDP/VNC clipboard.

disable

Disable support of RDP/VNC clipboard.

cookie-age

Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit.

integer

Minimum value: 0 Maximum value: 525600

60

customize-forticlient-download-url

Enable support of customized download URL for FortiClient.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

decrypted-traffic-mirror

Decrypted traffic mirror.

string

Maximum length: 35

default-window-height

Screen height.

integer

Minimum value: 0 Maximum value: 65535

768

default-window-width

Screen width.

integer

Minimum value: 0 Maximum value: 65535

1024

display-bookmark

Enable to display the web portal bookmark widget.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

display-history

Enable to display the web portal user login history widget.

option

-

disable **

Option

Description

enable

Enable setting.

disable

Disable setting.

display-status

Enable to display the web portal status widget.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

focus-bookmark

Enable to prioritize the placement of the bookmark section over the quick-connection section in the ztna web-portal.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

forticlient-download

Enable/disable download option for FortiClient.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

forticlient-download-method

FortiClient download method.

option

-

direct

Option

Description

direct

Download via direct link.

ssl-vpn

Download via SSL-VPN.

heading

Web portal heading message.

string

Maximum length: 31

ZTNA Portal

host

Virtual or real host name.

string

Maximum length: 79

log-blocked-traffic

Enable/disable logging of blocked traffic.

option

-

enable

Option

Description

disable

Do not log all traffic denied by this ZTNA web-proxy.

enable

Log all traffic denied by this ZTNA web-proxy.

macos-forticlient-download-url

Download URL for Mac FortiClient.

var-string

Maximum length: 1023

name

ZTNA proxy name.

string

Maximum length: 79

policy-auth-sso

Enable policy sso authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

theme

Web portal color scheme.

option

-

security-fabric

Option

Description

jade

Jade theme.

neutrino

Neutrino theme.

mariner

Mariner theme.

graphite

Graphite theme.

melongene

Melongene theme.

jet-stream

Jet Stream theme.

security-fabric

Security Fabric theme.

dark-matter

Dark Matter theme.

onyx

Onyx theme.

eclipse

Eclipse theme.

vip

Virtual IP name.

string

Maximum length: 79

vip6

Virtual IPv6 name.

string

Maximum length: 79

windows-forticlient-download-url

Download URL for Windows FortiClient.

var-string

Maximum length: 1023

** Values may differ between models.