Fortinet black logo

CLI Reference

system replacemsg sslvpn

system replacemsg sslvpn

The SSL VPN login replacement messages are HTML replacement messages.

The sslvpn-logon message formats the FortiGate SSL VPN portal login page.

The sslvpn-limit message formats the web page that appears if a user attempts to log into SSL VPN more than once.

You can customize these replacement messages according to your organization’s needs. The pages are linked to FortiGate functionality and you must construct them according to the following guidelines to ensure that it will work.

These are HTML messages with HTTP headers.

config system replacemsg sslvpn
    edit {msg-type}
    # Replacement messages.
        set msg-type {string}   Message type. size[28]
        set buffer {string}   Message string. size[32768]
        set header {none | http | 8bit}   Header flag.
                none  No header type.
                http  HTTP
                8bit  8 bit.
        set format {none | text | html | wml}   Format flag.
                none  No format type.
                text  Text format.
                html  HTML format.
                wml   WML format
    next
end

Additional information

The following section is for those options that require additional explanation.

buffer <message>

Type a new replacement message to replace the current replacement message. Maximum length 32,768 characters.

system replacemsg sslvpn

The SSL VPN login replacement messages are HTML replacement messages.

The sslvpn-logon message formats the FortiGate SSL VPN portal login page.

The sslvpn-limit message formats the web page that appears if a user attempts to log into SSL VPN more than once.

You can customize these replacement messages according to your organization’s needs. The pages are linked to FortiGate functionality and you must construct them according to the following guidelines to ensure that it will work.

These are HTML messages with HTTP headers.

config system replacemsg sslvpn
    edit {msg-type}
    # Replacement messages.
        set msg-type {string}   Message type. size[28]
        set buffer {string}   Message string. size[32768]
        set header {none | http | 8bit}   Header flag.
                none  No header type.
                http  HTTP
                8bit  8 bit.
        set format {none | text | html | wml}   Format flag.
                none  No format type.
                text  Text format.
                html  HTML format.
                wml   WML format
    next
end

Additional information

The following section is for those options that require additional explanation.

buffer <message>

Type a new replacement message to replace the current replacement message. Maximum length 32,768 characters.