Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Tannu86
New Contributor II

ZTNA

Hello everybody,
I have a problem with ZTNA, I performed the various configuration steps that I found in the official guide, but I can't get the remote access in https of my Vcenter and my Firewall to work. It gives me this error for my fortigate :403 Forbidden: Wrong proxy service was requested
The web server reported that an error occurred while trying to access the website. Please go back to the previous page.
URL https//:33.33.45.66:4556


while for the VCenter:
ZTNA Access Denied
The page you requested has been blocked by a ZTNA restriction.
Details: API Gateway Denied.

can you give me a hand?
Thanks so much

3 REPLIES 3
Anthony_E
Community Manager
Community Manager

Hello,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Anthony-Fortinet Community Team.
btan
Staff
Staff

Hello,

 

Based on your description, looks like you are implementing:

https://docs.fortinet.com/document/fortigate/7.2.3/administration-guide/101256/ztna-tcp-forwarding-a...

 

Your issue symptom has too many possibilities. Let's try to narrow it down.
Your first error: Forbidden: Wrong proxy service was requested
The web server reported that an error occurred while trying to access the website. Please go back to the previous page.
> This can possibly due to ZTNA cert somehow not ready in the endpoint. Check if your endpoint in EMS endpoint pane, 'ZTNA Serial Number' should be visible.

btan_0-1675044640632.png

And for your vcenter error:

ZTNA Access Denied
The page you requested has been blocked by a ZTNA restriction.
Details: API Gateway Denied.

It can be due to misconfiguration on 'config api-gateway' part in FGT. Or the ZTNA destination in endpoint profile

config firewall access-proxy
    edit "ZTNA-tcp-server"
        set vip "ZTNA-tcp-server"
        set client-cert enable
        config api-gateway


Nevertheless, you can try below debug command in FGT and reproduce the issue:

CLI session1:

#diag debug reset
#diag wad debug enable category all
#diag wad debug enable level verbose
#diag debug console timestamp en
#diag wad filter src x.x.x.x <--- endpoint public IP address
#diag wad filter dport 4556 <--- your configured port in proxy gateway
#diag debug enable

~Reproduce the issue~

Open another CLI session2:
diag wad user list
diag wad session list
diag test app wad 1000
diag test app wad 155

 

The output may give clues why it is not working.

Logs in ZTNA traffic will be helpful as well:
FGT > Logs & Reports > ZTNA traffic

Regards,
Bon
Tannu86
New Contributor II

Hello and thanks for your advice, I will try to replicate your content.
I'll update you as soon as possible.
Best regards

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors