Login 24/7 Support Community tyk.io

Allowing IPs

IP Whitelisting (Middleware)

  • enable_ip_whitelisting: If set to true, only requests coming from the explicit list of IP addresses (allowed_ips) are allowed through.

  • allowed_ips: A list of strings that defines the IP addresses (in CIDR notation) that are allowed access via Tyk. This list is explicit and wildcards are currently not supported. e.g.:

"enable_ip_whitelisting": true,
"allowed_ips": ["", "", ""]

For more details on CIDR notation, see this Wikipedia entry.


  1. Allowlist - explicitly allowing access to some identified entities. Also commonly known as a whitelist. ↩︎