To achieve this, it is necessary to use a Web Filter along with deep inspection. These are mandatory for a functioning static URL filter. Â To set this up, follow the steps below. Â In the GUI: Â  Â  Â In the CLI: Â config firewall policy
edit 3
       set name "LinkedinJobBLOCK"
       set uuid 90d2ec82-48d1-51ee-34c2-e79f4313836e
       set srcintf "port2"
       set dstintf "port1"
       set action accept
       set srcaddr "all"
       set dstaddr "all"
       set schedule "always"
       set service "ALL"
       set utm-status enable
       set ssl-ssh-profile "deep-inspection"
       set webfilter-profile "Jobblock"
       set logtraffic all
       set nat enable
       set comments " (Copy of To Internet) (Copy of test)"
   next
end
   config webfilter urlfilter   Â
edit <Name of the static URL filter.>Â Â
config entries
edit 1Â Â
set url "*linkedin.com/jobs*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''Â Â Â Â Â
next Â
edit 2
set url "*.linkedin.com/voyager/api/jobs/*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
nextÂ
edit 3
set url "*.linkedin.com/litms/utag/voyager-web-jobs*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next Â
edit 4
set url "www.linkedin.com/voyager/api/graphql?variables=(count:1)&&queryId=voyagerJobsDashJobsFeed*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
edit 5
set url "www.linkedin.com/voyager/api/graphqlincludeWebMetadata=true&variables(count:1)&&queryId=voyagerJobsDashJobsFeed*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
edit 6
set url "platform.linkedin.com/litms/allowlist/voyager-web-jobs*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
edit 7
set url "www.linkedin.com/voyager/api/jobs*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
edit 8
set url "*launchpadContext=JOBS_HOME*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
edit 9
set url "/www.linkedin.com/voyager/api/graphql?variables=(count:1)&&queryId=voyagerJobsDashJobsFeed*"
set type wildcard
set action block
set antiphish-action block
set status enable
set referrer-host ''
next
end
next
config webfilter profile
edit "Job_block"Â Â Â Â
set comment "Default web filtering."
config web
set urlfilter-table 4Â
next
end
Where '4' is the URL filter table ID. It is possible to find this ID under 'config webfilter urlfilter', where the URL filter is listed with its corresponding ID number.
Results:
After setting this up, the user will be able to browse LinkedIn but will be blocked from the 'Job' tab.  Â Â  Â  Â Note: Blocking the QUIC protocol is necessary as it often permits clients to bypass transparent proxies, resulting in UTM features not working properly. See:Â Technical Tip: How to block/disable QUIC. Related articles:
|