Push or Pull?
Your servers are behind a firewall that allows outgoing connections only. You still want their metrics in a central Prometheus. What fits?
Choose one answer
Run an agent on each server that scrapes locally and pushes with remote write.
Open an inbound port on every server so the central Prometheus can scrape it.
Have every server write its metrics to a log file, and grep the files centrally.
Nothing works: Prometheus can only scrape, so the firewall must change.