'The Requested Content Was Blocked' Error Message
Very occasionally when trying to access a website, you may encounter a browser error similar to the image below.
This error message means that the machine that is getting the error is on an IP range outside of those allowed through Squid. Please take the following steps to resolve the issue.
- Open up a Command Prompt on the machine in question and run
ipconfig- take a note of the IP address and work out the range.
- Open up Putty and login to the USS Gateway server. First run
sudo suto grant yourself root access and then run
nano /usr/local/uss-squid4/etc/squid.confand take a look at the lines starting with
acl localnet src
If the range of the machine is outside of those listed above, you will then need to edit the
- Run the command
- Add a line to allow the affected range, such as the following example:
acl localnet src 188.8.131.52/24
- Save the
squid.conf.pre-overridefile then run the command
systemctl restart ussgw_sysmond