<commit_before>Title
=======================================================================================================


See Also
------------------------------

-   []()<commit_msg>updated with heading<commit_after>IP Filtering with Kaazing Gateway
=================================

You can configure a Gateway service to only accept connections from remote hosts based on their IP addresses. The list of allowed IP addresses is called a [whitelist](https://en.wikipedia.org/wiki/Whitelist). Basically, an IP whitelist puts a Gateway service in a default posture of denying remote connections, permitting only a specific list of remote hosts from connecting to the service.

In order to use IP filtering, you have two options:


  -  Filter Remote IP Addresses Using the ip-filter Login Module Type - On the Gateway, configure a Gateway [service](../../admin-reference/r_conf_service.html) with a login module of type ip-filter, set the login module’s success element’s value to required, and populate the whitelist element with at least one IP address or IP address range.
  -  Filter Remote IP Addresses Using a Custom Login Module - Create and use your own custom login module (LoginModule) and apply it to a Gateway service. From within the login module, remote IP addresses can be inspected and the login module can determine whether or not the connection should be allowed.

Components and Tools
--------------------


Filter Remote IP Addresses Using the ip-filter Login Module Type
----------------------------------------------------------------



Filter Remote IP Addresses Using a Custom Login Module
------------------------------------------------------





See Also
--------

-   []()
{'fraction_non_alphanumeric': 0.22072599531615925, 'fraction_numerical': 0.0, 'mean_word_length': 2.814732142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4923725', 'n_tokens_mistral': 368, 'n_tokens_neox': 334, 'n_words': 199}