Get real IP / synced from IP

Rickard Johansson rickard.johansson at equiinet.com
Thu Feb 28 14:30:19 EST 2019


Hi,

A couple of my CPE's are behind NAT and therefore reports a local IP
in InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress.

I wonder if it is possible to get the real / synced from IP, maybe using a
Virtual Parameter?
Genie obviously knows the IP as it's included in the log files, but can it
be accessed from a script?

let ip = getIP(...);
let fromIP = declare("InternetGatewayDevice.FromIP", {value: 1});
return {writable: false, value: [ip, "xsd:string"]};

Thanks in advance,

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190228/b66f23a5/attachment.html>


More information about the Users mailing list