NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
<html> <head> <meta http-equiv=" Content-Type" content=" text/html; charset=UTF-8" > <title> Secure SSL-VPN Portal </title> <meta http-equiv=" Pragma" content=" no-cache" > <meta http-equiv=" cache-control" content=" no-cache" > <meta http-equiv=" cache-control" content=" must-revalidate" > <link href=" /sslvpn/css/login.css" rel=" stylesheet" type=" text/css" > <script type=" text/javascript" > if (top && top.location != window.location) top.location = top.location; if (window.opener && window.opener.top) { window.opener.top.location = window.opener.top.location; self.close(); } </script> </head> <body class=" main" > <center> <table width=" 100%" height=" 100%" align=" center" class=" container" valign=" middle" cellpadding=" 0" cellspacing=" 0" > <tr valign=middle> <td> <form action=" %%SSL_ACT%%" method=" %%SSL_METHOD%%" name=" f" autocomplete=" off" > <table class=" list" cellpadding=10 cellspacing=0 align=center width=400 height=180> <tr class=" dark" > <td colspan=2> <b> Please Login </b> </td> </tr> %%SSL_LOGIN%% <tr> <td> </td> <td id=login> <input type=button name=login_button id=login_button value=" Login" onClick=" try_login()" border=0> </td> </tr> </table> %%SSL_HIDDEN%% </td> </tr> </table> </form> </center> </body> <script> document.forms[0].username.focus(); </script> </html>This is my default code on 200B. As I mentioned in first post, My SSLVPN portal is not correct then I copied code from my old fortigate 110C. In 110C SSL VPN portal appearance is OK, but in 200B is still not OK. Nothing changes.
<html> <head> <meta http-equiv=\" Content-Type\" content=\" text/html; charset=UTF-8\" > <title>login</title> <meta http-equiv=\" Pragma\" content=\" no-cache\" > <meta http-equiv=\" cache-control\" content=\" no-cache\" > <meta http-equiv=\" cache-control\" content=\" must-revalidate\" > <link href=\" /sslvpn/css/login.css\" rel=\" stylesheet\" type=\" text/css\" > <script type=\" text/javascript\" >if (top && top.location != window.location) top.location = top.location;if (window.opener && window.opener.top) { window.opener.top.location = window.opener.top.location; self.close(); }</script> </head> <body class=\" main\" > <center> <table width=\" 100%\" height=\" 100%\" align=\" center\" class=\" container\" valign=\" middle\" cellpadding=\" 0\" cellspacing=\" 0\" > <tr valign=middle> <td> <form action=\" %%SSL_ACT%%\" method=\" %%SSL_METHOD%%\" name=\" f\" autocomplete=\" off\" > <table class=\" list\" cellpadding=10 cellspacing=0 align=center width=400 height=180>%%SSL_LOGIN%%</table>%%SSL_HIDDEN%%</td> </tr> </table> </form> </center> </body> <script>document.forms[0].username.focus();</script> </html>
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
ORIGINAL: Dave Hall The code with " Please Login" and " <input type=button name=login_button id=login_button value=" Login" onClick=" try_login()" border=0>" is not needed as the code in %%SSL_LOGIN%% suppose to display/prompt the user for that info. The code in our 200B config section for " replacemsg sslvpn " sslvpn-login" looks like this:Thanks to Dave, I have copied your code, it works, but no color on it. However to me it ' s Ok. Simpleness is always efficiency. To my old fault, I try to use Chrome, Firefox, IE but with the same appearance.<html> <head> <meta http-equiv=\" Content-Type\" content=\" text/html; charset=UTF-8\" > <title>login</title> <meta http-equiv=\" Pragma\" content=\" no-cache\" > <meta http-equiv=\" cache-control\" content=\" no-cache\" > <meta http-equiv=\" cache-control\" content=\" must-revalidate\" > <link href=\" /sslvpn/css/login.css\" rel=\" stylesheet\" type=\" text/css\" > <script type=\" text/javascript\" >if (top && top.location != window.location) top.location = top.location;if (window.opener && window.opener.top) { window.opener.top.location = window.opener.top.location; self.close(); }</script> </head> <body class=\" main\" > <center> <table width=\" 100%\" height=\" 100%\" align=\" center\" class=\" container\" valign=\" middle\" cellpadding=\" 0\" cellspacing=\" 0\" > <tr valign=middle> <td> <form action=\" %%SSL_ACT%%\" method=\" %%SSL_METHOD%%\" name=\" f\" autocomplete=\" off\" > <table class=\" list\" cellpadding=10 cellspacing=0 align=center width=400 height=180>%%SSL_LOGIN%%</table>%%SSL_HIDDEN%%</td> </tr> </table> </form> </center> </body> <script>document.forms[0].username.focus();</script> </html>
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 |
---|---|
1735 | |
1107 | |
752 | |
447 | |
240 |
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.