#3466·gluetun

Feature request: Expose connected VPN server IP/Name in Control Server API

Author: GeoHolzCreated Sep 10, 2026Updated Sep 10, 2026

What's the feature

Currently, the /v1/publicip/ip endpoint only returns the public exit IP (via ipinfo). For providers like AirVPN, the exit IP doesn't match the incoming connection IP, making it impossible to query provider status APIs (to check server load or health) directly from the Gluetun API without parsing Docker logs.

It would be great to have an endpoint like /v1/openvpn/status or /v1/wireguard/status (or an addition to /v1/publicip/ip) returning the internal server name and the exact IP address Gluetun is connected to.

Extra information and references

Parsing docker logs to extract Connecting to X.X.X.X, which works but is less clean than a direct API call.