/** * @inheritDoc */ public function resolveIpAddress() { $client = new \SoapClient(null, ['location' => "http://192.168.1.1:80/upnp/control?WANPPPConnection", 'uri' => "urn:schemas-upnp-org:service:WANPPPConnection:1"]); return $client->GetExternalIPAddress(); }