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 220.127.116.11 and the range of addresses from 18.104.22.168 through 22.214.171.124, you would use:
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.