https://docs.traefik.io/v2.2/reference/dynamic-configuration/kv/
all the kv is in the link
https://docs.traefik.io/middlewares/ipwhitelist/
in this link I don't know how to refuses requests based on the client IP
if i want to block two ip 22.22.22.22 and 33.33.33.33
how to set with kv
I don't know how to set it
Can you tell a bit more? Are you talking about a specific middleware? Are those to IPs or from IPs? What purpose do you want to block them for? What will be on the other end of the blocked connection?
block a ip ,not allow com in
how to set it?
traefik/http/middlewares/Middleware11/ipWhiteList/sourceRange/0 =127.0.0.1/32, 192.168.1.7
this is allow 127.0.0.1/32, 192.168.1.7 come in
but I want to block 127.0.0.1/32, 192.168.1.7 come in
how to set ,is it suport block ip ,like ipblacklist
IPWhitelist how to refuses requests based on the client IP.
https://docs.traefik.io/middlewares/ipwhitelist/
in this link I don't know how to refuses requests based on the client IP
Okezie
June 22, 2020, 10:22pm
7
I have a quick write-up on how to use the ForwardAuth middleware to block a list of IPs https://scaleup.us/2020/06/21/how-to-block-ips-in-your-traefik-proxy-server
I really hope this is built in soon. Traefik is a great modern tool.