Setting Up Geo-Blocking with FortiWeb IP Protection

,

One of our FortiWeb clients is releasing a new app and they’ve requested us to block IPs not associated with Australia.  There are a number of ways we can achieve this whether it’s via the FortiWeb, a FortiGate in front or other methods. In this instance, we’ll be using the FortiWeb IP Protection feature. This uses the MaxMind Geo IP lists and is a good but not fool-proof way to enable geo-blocking.

We firstly need to setup a IP List to apply to our Policy, so go to IP Protection > GEO IP. Once there, we create a new GEO IP Policy, specify an action (in our case the customer wanted to simply Deny without logging, however I’d recommend logging at least for a short while. Click OK, and then this will allow us to create the new Country Item, to select the country or countries we want to block.

Once that’s done, click OK to save the item and policy.  We now navigate to the Server Policy that we want to apply the Geo Block to, so go to Policy > Server Policy and edit the particular policy you want. Now scroll down to Security Configuration and edit the Web Protection Profile. Scroll down again until you get to IP Protection and under GEO IP, we should be able to select the Policy we created earlier. Hit OK to save the Web Protection Profile and then hit OK again to save the Server Policy.

And there you have it, applying a Geo IP filter on a FortiWeb Server Policy.


Leave a Reply

More Posts

CrowdStrike Next-Gen SIEM and FortiGate Connector

So I’m working on getting all of our external systems connected into the CrowdStrike Next-Gen SIEM as part of our internal Falcon Complete tenancy. Following the documentation in the CrowdStrike portal, getting and installing the Log Collector and setting up the connector were a pretty straightforward affair. I’ve got a Windows VM setup as a […]

RDP to Windows Login Screen

I was recently resurrecting an old demo environment in AWS which consisted of a few EC2 virtual machines, however upon trying to login, I quickly realised that the account password had expired and by default Windows Remote Desktop doesn’t have an ability to change passwords since you’re not presented with the logon screen.  We didn’t […]

How to easily Check your SPN and Delegation settings for SQL Server in an Active Directory environment

I was recently setting up some Linked SQL Servers for a customer to perform queries against a database on one server through another. One of the things you need to get right when setting up linked servers when using Service accounts in Active Directory is SPNs (or Service Principal Names) and Authority to Delegate (for […]