Skip to main content
Version: v1.6

IP Filter

Restrict access to your Secured Signal API based on client IP addresses.

IP filtering allows you to explicitly allow or block requests originating from specific IPs or CIDR ranges.

Default​

By default, all IP addresses are allowed.

No IP-based restrictions are applied unless access.ipFilter is configured.

Customize​

You can modify IP access rules by configuring access.ipFilter in your config:

settings:
access:
ipFilter:
allowed:
- 192.168.1.10
- 10.0.0.0/24
blocked:
- 123.456.78.9
- 234.567.89.0/24

Supports:

  • Single IPv4 / IPv6 addresses
  • CIDR notation (10.0.0.0/24, 2001:db8::/32)

Behavior​

AllowBlockResult
192.168.1.10—Only 192.168.1.10 allowed
—123.456.78.9All allowed, except 123.456.78.9
10.0.0.0/2410.0.0.1010.0.0.0/24 allowed, except 10.0.0.10
—0.0.0.0/0
::/0
All IPv4 & IPv6 blocked

Rules​

  • IPv4 and IPv6 rules may be mixed
  • Default: allow all
  • Allow rules exist: default block
  • Only block rules exist: default allow
  • Explicit allow overrides block

Clients behind Proxies​

For clients behind proxies, IPs cannot be reliably determined without trusting the X-Forwarded-For HTTP header. In order for Secured Signal API to trust the XFF header it has to trust the request's originating proxy.

Read more about trusted proxies here.