Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Disable connection from specific host by hostname

$
0
0

Hello. Tell me how to use the acl to reject client connections by hostname. I was able to block by IP

acl blocked_host src 172.20.40.25
TCP request reject connection if blocked_host

But I don’t understand how to do it by hostname.
hdr(Host) contains the destination host name.
I found resolvers in the documentation, but I can’t figure out how to use them in acl.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles