TCP - IPAllowList
IPAllowList accepts / refuses connections based on the client IP.
Configuration Example
- ipAllowList
apiVersion: traefik.io/v1alpha1
kind: MiddlewareTCP
metadata:
name: test-ipallowlist
spec:
ipAllowList:
sourceRange:
- 127.0.0.1/32
- 192.168.1.7
Configuration Options
Field | Description | Default | Required |
---|---|---|---|
sourceRange | The sourceRange option sets the allowed IPs (or ranges of allowed IPs by using CIDR notation). | Yes |