Get real IP / synced from IP

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


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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list