Client IP Rules

server/client_ip_rules[]

The rules which define whether a client is allowed to connect to this server. The rule is of the format:

[+|-]<client-ip>

where:

ElementDescription
+Indicates that the client is permitted access.
-Indicates that the client is not permitted access.
<client-ip>The IP address of the client, which can also contain the pattern matching characters * and ?.

The client IP address of a request will be evaluated against each rule in sequence until a match is found. The corresponding code (+|-) will then be used to determine whether the client connection is accepted. If the client IP matches no configured rules the client connection will be accepted.

Properties

NameTypeConstraintsDescription
client_ip_rulesArray of stringA client IP address pattern(s).

Example

server:
  client_ip_rules:
    - +10.0.0.*
    - -9.*.*.*

Did this page help you?