IncludeIP

IncludeIP (abbreviation I) is a position-dependent config.txt/ezproxy.cfg directive that interacts with AutoLoginIP and ExcludeIP directives; database definitions; and other IncludeIP directives.

IncludeIP is used to identify computers that have IP addresses that are not known by your database vendors and thus do need to be proxied. It accepts a single parameter that is either an IP address or an IP address range.

The top of the config.txt/ezproxy.cfg file can be considered to start with an implicit

IncludeIP 0.0.0.0-255.255.255.255

that indicates that all users should be required to log in before gaining access to databases. This implicit behavior is modified by the presence of AutoLoginIP, ExcludeIP and IncludeIP directives.

The most frequent use of IncludeIP is to identify local computers that should be treated as remote computers for testing. The next most frequent use is to reverse all prior AutoLoginIP and ExcludeIP directives.

Example

In this example, all machines in the IP address range of 192.168.0.0-192.168.255.255 are known to the vendor and can bypass EZproxy, but 192.168.12.1 requires the user to log in for testing purposes.

ExcludeIP 192.168.0.0-192.168.255.255
IncludeIP 192.168.12.1

Title Some Database
URL http://www.somedb.com/
Domain somedb.com

Title Other Database
URL http://www.otherdb.com/
Domain otherdb.com