This solution applies to Barracuda Web Security Flex.
You can do so under the CONFIGURATION > Gateway > IP Configuration page of your Barracuda Flex interface. Here, you may now change the redirect IP address to anything you like. This IP address will be the loopback address for serving block pages.
Link to this page: