QubitProducts / exporter_exporter

A reverse proxy designed for Prometheus exporters
Apache License 2.0
338 stars 55 forks source link

Limit queries by IP #72

Closed c0da closed 3 years ago

c0da commented 3 years ago

Hello,

Is there any way to allow queries only from a specific IP, or network range (maybe something like mrtg's _allowedhosts option)? Using TLS is a perfect option, but I would also like to be able to limit access to expexp's port by source ip address (without having to configure an iptables rule, or use an external firewall), so it will only respond to queries from my prometheus server.

Thanks in advance!

c0da commented 3 years ago

Please disregard. I've found the option: -allow.net value