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

Disable SSLVPN webportal page

Hello

After pentests we have issue about showing SSLVPN webpage. I need use SSLVPN only in tunnel mode (this is not problem), but without showing any page in browser. I looked on cli and gui and can`t still found any solution, how disable web page, but still have actvite tunnel mode.

Do you have any idea?

Thank you

NSE8 #3111

NSE8 #3111
3 Solutions
Pacolo

Hey guys,

 

I searched info about disabling SSL-VPN and found this.

 

What I have done is unsetting the options configured through CLI, for example:

 

config vpn ssl settings unset port unset source-interface "wan1"

Regards!

View solution in original post

leo1
New Contributor II

There is no option to disable Web GUI access for SSL VPN 

But you can edit the replacement Message for SSL-VPN login page. 

SYSTEM> Replacement Message > SSL-VPN login page.

 

You can Deleted the Body of HTML. then when you try to access your web portal(SSL-VPN) the login page will not show.

View solution in original post

nbutt
New Contributor II

I have a fix guys!!!!

 

Do the following and your SSL-VPN login HTML page will be blank and the FortiClient will still be able to sign in to the SSL VPN! even with FortiToken.

 

 

====

At the top of the HTML add the lines:

<style>

      .prompt {

        display: none;

      }

     

    </style>

 

 

=====

At the top of the HTML remove the single line:

 

<link href="/css/main-blue.css" rel="stylesheet" type="text/css">

 

 

 

=======

Example snippet from the top of the HTML including both fixes above.

 

 

 

<!DOCTYPE html>

<html lang="en" class="main-app">

 

  <head>

   

    <style>

      .prompt {

        display: none;

      }

     

    </style>

   

    <meta charset="UTF-8">

   

    <meta http-equiv="X-UA-Compatible" content="IE=8; IE=EDGE">

   

    <meta name="viewport" content="width=device-width, initial-scale=1">

   

    <meta name="apple-itunes-app" content="app-id=1475674905">

 

    <link href="/css/main-blue.css" rel="stylesheet" type="text/css">

  

    <title>

      Please Login

    </title>

View solution in original post

15 REPLIES 15
vjoshi_FTNT
Staff
Staff

Hello,

 

I am positive that there is no such option to disable the access to the Web GUI(ssl-vpn) alone.

However, you can remove all the widgets removed from the portal, again, I don't think this will solve your problem.

 

You can try the below:

 

config vpn ssl settings

set url-obscuration enable

end

 

This field is available when sslvpn-enable(under same vpn ssl settings) is set to enable. Enable to encrypt the host name of the url in the display (web address) of the browser for web mode only. This is a requirement for ICSA ssl vpn certification. Also, if enabled, bookmark details are not visible (field is blank.).

Cheers!

bertimestwo

You can disable "Web Mode" in SSL-VPN Portals.

randomcatperson

I found that even disabling web-mode on all portals still presented a login page on the outside interface.

I left all portals with everything disabled that I could and then in order for this to go away - I had to delete the SSL security policy in policy & objects > IPv4 policy that permitted it and it no longer works.

This is as close as I could find to disabling SSL.

I'm running 6.0.4

Pacolo

Hey guys,

 

I searched info about disabling SSL-VPN and found this.

 

What I have done is unsetting the options configured through CLI, for example:

 

config vpn ssl settings unset port unset source-interface "wan1"

Regards!

Matt2019
New Contributor

Hi Ron_Uss,

  Have you found a solution to this? I would also like to disable the login page and just use tunnel mode.

 

matt

Che
New Contributor

On the SSL-VPN Settings page, you can remove the WAN interfaces from the "Listen On Interface(s)" config. The firewall requires at least one interface in this field but you can add DMZ or some other unused interface to prevent it from responding on the internet.

 

Update:  This disables the SSL VPN completely which is what I do when using the IPSec based Forticlient VPN config instead.

leo1
New Contributor II

There is no option to disable Web GUI access for SSL VPN 

But you can edit the replacement Message for SSL-VPN login page. 

SYSTEM> Replacement Message > SSL-VPN login page.

 

You can Deleted the Body of HTML. then when you try to access your web portal(SSL-VPN) the login page will not show.

nbutt
New Contributor II

Leo,

 

If you delete the body of the HMTL that will break the ability to sign on to tunnel mode SSL VPN via FortiClient.

 

I am also trying to find a work around for hiding the HTML page but keep the SSL VPN tunnel mode working for my FortiClient users.

 

I will let you all know if I find something.

 

Nick

nbutt
New Contributor II

I have a fix guys!!!!

 

Do the following and your SSL-VPN login HTML page will be blank and the FortiClient will still be able to sign in to the SSL VPN! even with FortiToken.

 

 

====

At the top of the HTML add the lines:

<style>

      .prompt {

        display: none;

      }

     

    </style>

 

 

=====

At the top of the HTML remove the single line:

 

<link href="/css/main-blue.css" rel="stylesheet" type="text/css">

 

 

 

=======

Example snippet from the top of the HTML including both fixes above.

 

 

 

<!DOCTYPE html>

<html lang="en" class="main-app">

 

  <head>

   

    <style>

      .prompt {

        display: none;

      }

     

    </style>

   

    <meta charset="UTF-8">

   

    <meta http-equiv="X-UA-Compatible" content="IE=8; IE=EDGE">

   

    <meta name="viewport" content="width=device-width, initial-scale=1">

   

    <meta name="apple-itunes-app" content="app-id=1475674905">

 

    <link href="/css/main-blue.css" rel="stylesheet" type="text/css">

  

    <title>

      Please Login

    </title>

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