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

Changing the SQL Server Collation After Installation for SQL Server 2012 or 2014 without re-installation

So I was asked recently to setup a test environment for one of our CRM applications. So I went ahead and instead of copying the existing Virtual Machine I decided to create a new one from scratch. Installed SQL Server 2012 and the required application files. As I went to install the database onto the […]

Using custom OWA URLs in SharePoint to display your inbox as well as calendar and other items

This one has been sitting in my drafts folder for a while but last year I was experimenting with our SharePoint environment and thought it would be a cool idea to have a view of our web mail and calendar come up into our SharePoint homepage as web parts. Now if you are running SharePoint […]

Getting a list of users in Active Directory as well as their Logon Script using dsquery and dsget

So I’m preparing on doing a clean-up of our NETLOGON/SYSVOL folder containing about 50 or so different logon scripts (plenty of which I know are no longer used).  I wanted to create a list of all of our active directory users along with what logon script they were assigned (I could then feed this list […]