Redirect to a different domain based on URL Filtering
42300
Created On 10/10/19 03:15 AM - Last Modified 06/01/23 03:33 AM
Objective
Redirect to a different domain based on URL Filtering
- You wish to redirect specific website/domain to a different domain
- Expected behavior, if a customer access any news site, in this example https://abcnews.go.com it will be redirected to https://edition.cnn.com
Environment
A firewall running 8.1 and 9.0
Procedure
- Configure response page (html) to redirect to edition.cnn.com
<html> <head> <meta http-equiv="refresh" content="0; url=https://edition.cnn.com/"> </head> </html> Source: https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CltqCAC |
- Add the response page (in step1) in the “URL Filtering Continue and override Page”
- Generate a Certificate with CN and IP (Certificate Attribute) to be the ingress IP of the firewall and assign it to a TLS profile
- Configure URL Admin override to redirect to ingress interface
- Enable Response Page on the Interface and assign it to the ingress interface
- Configure URL filtering profile to have category “news” to be override/block and configure the https://edition.cnn.com to be part of the Allow URL under “Overrides”
- Assign the URL filtering to Policy
Result