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

System variables for Replacement Messages

Hey guys,

Trying to modify the replacement message for sslvpn and I came across what looks like a variable of some sort: %%SSL_STATUS_INFO%%

It got me thinking to try to build out this piece of the web with more system info when possible, trying to find out my options is showing a challenge by itself.

How can I go about finding other similar types of variables or system directives that could allow me to manipulate the replacement messages html code to include more system information if I wanted to do so via the replacement messages? Is this even possible? I am having a hard time finding a resource that points to those.

https://xender.vip/
1 REPLY 1
kaman
Staff
Staff

Hi munch,

 

When configuring a custom replacement message for SSL VPN on FortiGate, you can create a personalized notification or informational message that users will see when they access the SSL VPN portal. This is useful for conveying important information, such as acceptable use policies or system updates. Here's an example template you can modify for your specific needs:

 

<html>
<head>
<title>FortiGate SSL VPN</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 20px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
}
h1 {
color: #555;
}
p {
line-height: 1.6;
margin-bottom: 15px;
}
.important {
color: #d9534f;
}
</style>
</head>
<body>
<h1>Welcome to FortiGate SSL VPN</h1>
<p>Hello [Company Name] Users,</p>
<p>This is a secure portal for accessing [Company Name]'s network resources remotely. Please take a moment to review the following information:</p>
<div class="important">
<p><strong>Important Notice:</strong> [Add your important notice or policy information here.]</p>
</div>
<p><strong>System Status:</strong> [Include any relevant system status or update information here.]</p>
<p><strong>Support:</strong> If you encounter any issues or have questions, please contact our IT support at [IT Support Contact].</p>
<p>Thank you for using FortiGate SSL VPN for secure remote access.</p>
</body>
</html>

 

Reference Links:

 

https://docs.fortinet.com/document/fortigate/6.2.0/cookbook/131140/replacement-messages
https://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-system-administration-54/Replacement...
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Using-customized-login-pages-for-different...
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-modify-Replacement-Page-to-redirect...

 

I hope it will help you.

Labels
Top Kudoed Authors