This article provides a configuration to display a URL in UTM web-filtering custom block message.
Whenever a web site gets blocked by UTM web-filtering, it displays a custom block message. The custom block message should contain a URL so that users can be redirected to an alternate web site.
Configure the device to generate a URL in a UTM web-filtering custom block message using the following configuration. Replace www.configrouter.com with the desired web site address. The display message “here” can also be replaced with another preferred message.
set security utm feature-profile web-filtering surf-control-integrated profile TEST custom-block-message "Blocked. Kindly click <a href="http://www.juniper.net">here</a> to get redirected to Juniper Home Page"
After configuring the above command, the custom block message will appear as follows:
Blocked. Kindly click here to get redirected to Juniper Home Page.