Fortinet white logo
Fortinet white logo

CLI Reference

config ztna destination

config ztna destination

This command is available for model(s): FortiGate 1000D, FortiGate 1000F, FortiGate 1001F, FortiGate 100F, FortiGate 101F Gen2, FortiGate 1100E, FortiGate 1101E, FortiGate 120G, FortiGate 121G, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 200G, FortiGate 201E, FortiGate 201F, FortiGate 201G, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 30G, FortiGate 31G, FortiGate 3200F, FortiGate 3201F Gen2, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F Gen2, FortiGate 3501F Gen2, FortiGate 3600E, FortiGate 3601E, FortiGate 3700F, FortiGate 3701F, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F Gen2, FortiGate 4400F, FortiGate 4401F Gen2, FortiGate 4800F, FortiGate 4801F, FortiGate 500E, FortiGate 501E, FortiGate 50G 5G, FortiGate 50G DSL, FortiGate 50G SFP-POE, FortiGate 50G SFP, FortiGate 50G, FortiGate 51G 5G, FortiGate 51G SFP-POE, FortiGate 51G, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60F, FortiGate 61F, FortiGate 70F, FortiGate 70G-POE, FortiGate 70G, FortiGate 71F, FortiGate 71G-POE, FortiGate 71G, FortiGate 800D, FortiGate 80F Bypass, FortiGate 80F DSL, FortiGate 80F Gen2, FortiGate 80F-POE, FortiGate 81F Gen2, FortiGate 81F-POE, FortiGate 900D, FortiGate 900G, FortiGate 901G, FortiGate 90G Gen2, FortiGate 90G, FortiGate 91G Gen2, FortiGate 91G, FortiGate-VM64 Aliyun, FortiGate-VM64 AWS, FortiGate-VM64 Azure, FortiGate-VM64 GCP, FortiGate-VM64 OPC, FortiGateRugged 50G 5G, FortiGateRugged 60F 3G4G, FortiGateRugged 60F Gen2, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiGateRugged 70G 5G Dual, FortiGateRugged 70G, FortiWiFi 30G, FortiWiFi 31G, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 50G 5G, FortiWiFi 50G DSL, FortiWiFi 50G SFP, FortiWiFi 50G, FortiWiFi 51G, FortiWiFi 60F, FortiWiFi 61F, FortiWiFi 70G-POE, FortiWiFi 70G, FortiWiFi 71G, FortiWiFi 80F 2R 3G4G DSL, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G DSL, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate-VM64.

Configure ZTNA destination.

config ztna destination
    Description: Configure ZTNA destination.
    edit <name>
        set address {string}
        set conn-type [traffic-forwarding|ssh]
        set domain {string}
        set external-auth [enable|disable]
        set mappedport {user}
        set protocol [TCP|UDP|...]
        set saas-application <name1>, <name2>, ...
        set ssh-client-cert {string}
        set ssh-host-key <name1>, <name2>, ...
        set ssh-host-key-validation [disable|enable]
        set tunnel-encryption [enable|disable]
        set type [on-premise|saas]
        set uuid {uuid}
    next
end

config ztna destination

Parameter

Description

Type

Size

Default

address

Address or address group of the ZTNA destination.

string

Maximum length: 79

conn-type

Connection type.

option

-

traffic-forwarding

Option

Description

traffic-forwarding

Traffic forwarding.

ssh

SSH.

domain

Wildcard domain name of the ZTNA destination.

string

Maximum length: 255

external-auth

Enable/disable use of external browser as user-agent for SAML user authentication.

option

-

disable

Option

Description

enable

Enable use of external browser as user-agent for SAML user authentication.

disable

Disable use of external browser as user-agent for SAML user authentication.

mappedport

Port for communicating with the real server.

user

Not Specified

name

Destination name.

string

Maximum length: 79

protocol

Protocol type based on IANA numbers.

option

-

ALL

Option

Description

TCP

TCP.

UDP

UDP.

ALL

All.

saas-application <name>

SaaS application controlled by this ZTNA destination.

SaaS application name.

string

Maximum length: 79

ssh-client-cert

Configure access-proxy SSH client certificate profile.

string

Maximum length: 79

ssh-host-key <name>

Configure host keys (one or more may be configured).

Host key name.

string

Maximum length: 79

ssh-host-key-validation

Enable/disable SSH host key validation.

option

-

disable

Option

Description

disable

Disable SSH server host key validation.

enable

Enable SSH server host key validation.

tunnel-encryption

Tunnel encryption.

option

-

disable

Option

Description

enable

Enable traffic forwarding tunnel encryption.

disable

Disable traffic forwarding tunnel encryption.

type

ZTNA destination type.

option

-

on-premise

Option

Description

on-premise

On-Premise.

saas

SaaS.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

config ztna destination

config ztna destination

This command is available for model(s): FortiGate 1000D, FortiGate 1000F, FortiGate 1001F, FortiGate 100F, FortiGate 101F Gen2, FortiGate 1100E, FortiGate 1101E, FortiGate 120G, FortiGate 121G, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 200G, FortiGate 201E, FortiGate 201F, FortiGate 201G, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 30G, FortiGate 31G, FortiGate 3200F, FortiGate 3201F Gen2, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F Gen2, FortiGate 3501F Gen2, FortiGate 3600E, FortiGate 3601E, FortiGate 3700F, FortiGate 3701F, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F Gen2, FortiGate 4400F, FortiGate 4401F Gen2, FortiGate 4800F, FortiGate 4801F, FortiGate 500E, FortiGate 501E, FortiGate 50G 5G, FortiGate 50G DSL, FortiGate 50G SFP-POE, FortiGate 50G SFP, FortiGate 50G, FortiGate 51G 5G, FortiGate 51G SFP-POE, FortiGate 51G, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60F, FortiGate 61F, FortiGate 70F, FortiGate 70G-POE, FortiGate 70G, FortiGate 71F, FortiGate 71G-POE, FortiGate 71G, FortiGate 800D, FortiGate 80F Bypass, FortiGate 80F DSL, FortiGate 80F Gen2, FortiGate 80F-POE, FortiGate 81F Gen2, FortiGate 81F-POE, FortiGate 900D, FortiGate 900G, FortiGate 901G, FortiGate 90G Gen2, FortiGate 90G, FortiGate 91G Gen2, FortiGate 91G, FortiGate-VM64 Aliyun, FortiGate-VM64 AWS, FortiGate-VM64 Azure, FortiGate-VM64 GCP, FortiGate-VM64 OPC, FortiGateRugged 50G 5G, FortiGateRugged 60F 3G4G, FortiGateRugged 60F Gen2, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiGateRugged 70G 5G Dual, FortiGateRugged 70G, FortiWiFi 30G, FortiWiFi 31G, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 50G 5G, FortiWiFi 50G DSL, FortiWiFi 50G SFP, FortiWiFi 50G, FortiWiFi 51G, FortiWiFi 60F, FortiWiFi 61F, FortiWiFi 70G-POE, FortiWiFi 70G, FortiWiFi 71G, FortiWiFi 80F 2R 3G4G DSL, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G DSL, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate-VM64.

Configure ZTNA destination.

config ztna destination
    Description: Configure ZTNA destination.
    edit <name>
        set address {string}
        set conn-type [traffic-forwarding|ssh]
        set domain {string}
        set external-auth [enable|disable]
        set mappedport {user}
        set protocol [TCP|UDP|...]
        set saas-application <name1>, <name2>, ...
        set ssh-client-cert {string}
        set ssh-host-key <name1>, <name2>, ...
        set ssh-host-key-validation [disable|enable]
        set tunnel-encryption [enable|disable]
        set type [on-premise|saas]
        set uuid {uuid}
    next
end

config ztna destination

Parameter

Description

Type

Size

Default

address

Address or address group of the ZTNA destination.

string

Maximum length: 79

conn-type

Connection type.

option

-

traffic-forwarding

Option

Description

traffic-forwarding

Traffic forwarding.

ssh

SSH.

domain

Wildcard domain name of the ZTNA destination.

string

Maximum length: 255

external-auth

Enable/disable use of external browser as user-agent for SAML user authentication.

option

-

disable

Option

Description

enable

Enable use of external browser as user-agent for SAML user authentication.

disable

Disable use of external browser as user-agent for SAML user authentication.

mappedport

Port for communicating with the real server.

user

Not Specified

name

Destination name.

string

Maximum length: 79

protocol

Protocol type based on IANA numbers.

option

-

ALL

Option

Description

TCP

TCP.

UDP

UDP.

ALL

All.

saas-application <name>

SaaS application controlled by this ZTNA destination.

SaaS application name.

string

Maximum length: 79

ssh-client-cert

Configure access-proxy SSH client certificate profile.

string

Maximum length: 79

ssh-host-key <name>

Configure host keys (one or more may be configured).

Host key name.

string

Maximum length: 79

ssh-host-key-validation

Enable/disable SSH host key validation.

option

-

disable

Option

Description

disable

Disable SSH server host key validation.

enable

Enable SSH server host key validation.

tunnel-encryption

Tunnel encryption.

option

-

disable

Option

Description

enable

Enable traffic forwarding tunnel encryption.

disable

Disable traffic forwarding tunnel encryption.

type

ZTNA destination type.

option

-

on-premise

Option

Description

on-premise

On-Premise.

saas

SaaS.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000