Description
Solution
# config web-proxy profileedit "Auto-web-proxy-profile_ff0ygfu3d"# config headersedit 1set name "X-GoogApps-Allowed-Domains"set content "company.com" <----- The company domain hosted in Google mail services.nextendnextend
show config webfilter urlfilter .
edit 1set name "Auto-webfilter-urlfilter_gkkqnfrif"# config entriesedit 1set url "example.com"set action blocknextendnextend
Change it with the following entries in the exact same order.
# config webfilter urlfilteredit 1set name "Auto-webfilter-urlfilter_gkkqnfrif"# config entriesdelete 1 <----- This will delete the 'example.com' entry created from GUI.edit 1set url "*.google.com"set type wildcardset web-proxy-profile "Auto-web-proxy-profile_ff0ygfu3d"nextedit 2set url "gmail.com"nextedit 3set url "google.com"nextendnextend
Outcome:- Access to any email service will be denied (according to the web mail Category)- Access to personal Gmail Accounts on any other domain hosted on Gmail will be denied.- Access only form addresses containing @company.com will be allowed.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.