My machine get's an IP from OpenVPN server when connecting to the VPN gateway. This is tun0 on Ubuntu. I assume naming might be different for other systems that may connect to OpenVPN gateway.
Is that a reliable way (a script) to determine an IP, that was given to a machine by VPN gateway?