RejectIP

RejectIP is a position-independent config.txt/ezproxy.cfg directive that is used to identify computers that should be blocked from accessing EZproxy. It accepts a single parameter that is either an IP address or an IP address range and can appear multiples times in config.txt/ezproxy.cfg.

To block access from the single IP address 68.14.229.198 and the range of addresses from 68.15.0.0 through 68.15.3.255, you would use:

RejectIP 68.14.229.198
RejectIP 68.15.0.0-68.15.3.255

By default, EZproxy will simply close any connection request from a RejectIP address. If you want to provide feedback to users, you can create a file named reject.htm and place it in the docs subdirectory. If EZproxy finds such a file, it sends the file to the remote user and then closes the connection.

The only content that EZproxy will serve to someone accessing from a RejectIP range is reject.htm.  Access to anything else is rejected, including any CSS script that you may want to include.