How about extracting the ip address from management url parameter ?<br><br><div id="ymail_android_signature"><br></div> <br> <blockquote style="margin: 0 0 20px 0;"> <div style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Thu, Feb 21, 2019 at 3:07 PM, Victor Smirnov</div><div><victorvsmirnov@gmail.com> wrote:</div> </div> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> <div id="yiv0348483834"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div>ref. <a rel="nofollow" target="_blank" href="https://github.com/genieacs/genieacs/pull/335">https://github.com/genieacs/genieacs/pull/335</a>.</div><div>it was a clumsy attempt to get the <span lang="EN-US" style="font-size:11pt;font-family:Calibri, sans-serif;">httpRequest.connection.remoteAddress variable inside the sandbox.</span></div><div>So in a provisioning script one can have it like this:<br></div><div><div>let remoteip = getContext().httpRequest.connection.remoteAddress;</div><div>log ("INFO: Remote IP: " + remoteip);</div></div><div>remoteip variable can be used in the authentication scripts. In my case, I don't know the CPEs serial numbers (don't really want to), but I know customers' IP addresses so I can push personalized CPE parameters once I know the remote IP.</div><div>Any other way to get that IP in the sandbox?<br></div><div><br clear="all"><div><div dir="ltr" class="yiv0348483834gmail_signature">Victor Smirnov</div></div></div></div></div></div></div></div></div>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.genieacs.com" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br> </div> </blockquote>