I know that you can restrict administrative logins for certain accounts to certain IP spaces.
I was wondering if there is a way to restrict the HTTPS page from being viewed at all unless it came from Country "A"
Mike Pruett
You can do this by defining a geography firewall label then create a local-in-policy that allows access on port 443.
config firewall address
edit "Canada"
set associated-interface "wan1"
set type geography
set country CA
next
end
config firewall local-in-policy
edit 0
set intf "wan1"
set srcaddr "Canada"
set dstaddr "all"
set action accept
set service "443"
set schedule "always"
next
end
Personally, I feel this approach is not best practice -- you'll better off setting up the admin access ports on the Interface and restricting admin access from trusted hosts (see attached pic).
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
User | Count |
---|---|
2572 | |
1365 | |
796 | |
653 | |
455 |
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 2025 Fortinet, Inc. All Rights Reserved.