Skip to main content
sfIca
New Member
March 30, 2021
Question

FortiGate 40F - Web Mode and Angular 9

  • March 30, 2021
  • 1 reply
  • 2447 views

Hi there, a customer wants to access an Angular 9 based web application through a SSL-VPN portal with enabled web mode. Unfortunately, this doesn't seem to work because the proxy rewrites the deployed Angular application incorrectly. Some injected functions cannot be found, for example.

ERROR TypeError: fgt_sslvpn.host_restore(...) is undefined
The router is broken, too. As you can see in the example below the complete proxy url is added to the url:
https://192.168.41.181/proxy/1f781a4a/http/192.168.41.92/proxy/1f781a4a/http/192.168.41.92/login
Is there any option to make Angular 9 work with web mode? If this is not the case, is it possible to setup a reverse HTTP proxy with authentication in FortiOS? Kind regards, Sebastian

1 reply

kgeorge
Staff
Staff
June 14, 2023

Hello,

 

Sorry to see that this post was not responded so far.

Kindly let us know if you still have this issue or is it taken care off.

 

Just to answer to your question, Angular 9 cannot be integrated with SSL VPN Web mode.

And for Web Proxy, you can refer this documentation,

 

https://docs.fortinet.com/document/fortigate/6.2.14/cookbook/300428/explicit-web-proxy

 

Regards,

Klint

Regards,

Klint