[id='user_tool-{context}']
= Inspecting and modifying rules for filtering IP addresses

Configure IP address filtering rules on {brandname} Server endpoints to accept or reject connections based on client address.

.Prerequisites

* Install {brandname} Command Line Interface (CLI).

.Procedure

. Create a CLI connection to {brandname} Server.
. Inspect and modify the IP filter rules [command]`server connector ipfilter` command as required.
.. List all IP filtering rules active on a connector across the cluster:
+
[source,options="nowrap",subs=attributes+]
----
server connector ipfilter ls endpoint-default
----
+
.. Set IP filtering rules across the cluster.
+
[NOTE]
====
This command replaces any existing rules.
====
+
[source,options="nowrap",subs=attributes+]
----
server connector ipfilter set endpoint-default --rules=ACCEPT/192.168.0.0/16,REJECT/10.0.0.0/8`
----
+
.. Remove all IP filtering rules on a connector across the cluster.
+
[source,options="nowrap",subs=attributes+]
----
server connector ipfilter clear endpoint-default
----
