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
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
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!
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.
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>
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!
You can disable "Web Mode" in SSL-VPN Portals.
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
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!
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
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.
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.
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
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>
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1558 | |
1033 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.