# Request IP behind NAT

**URL:** <https://forum.genieacs.com/t/request-ip-behind-nat/139>\
**Category:** Uncategorized\
**Created:** [June 11, 2019, 11:11am UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139 "2019-06-11T11:11:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcowi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/marcowi/32/44_2.png) [@marcowi](https://forum.genieacs.com/u/marcowi)\
**Post date:** [June 11, 2019, 11:11am UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139/1 "2019-06-11T11:11:26Z")

</div>

Hi,

behind NAT “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress” is the internal IP of the requesting CPE within this network. How can I get the public IP the CPE is behind in a provisioning script since sessionContext is not available in the sandbox?

Regards  
Marco

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [June 15, 2019, 7:39pm UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139/2 "2019-06-15T19:39:08Z")

</div>

That’s not currently possible. Though it’s something to consider for a future release.

---

<div class="post-metadata">

**Author:** ![marcowi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/marcowi/32/44_2.png) [@marcowi](https://forum.genieacs.com/u/marcowi)\
**Post date:** [June 16, 2019, 6:23am UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139/3 "2019-06-16T06:23:16Z")

</div>

As I could really use it, I’ll work on it and send a PR.

---

<div class="post-metadata">

**Author:** ![JonasGhost](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/jonasghost/32/286_2.png) [@JonasGhost](https://forum.genieacs.com/u/JonasGhost)\
**Post date:** [February 9, 2021, 6:47pm UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139/4 "2021-02-09T18:47:58Z")

</div>

@zaidka are there any news on this topic?

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [February 24, 2021, 12:04am UTC](https://forum.genieacs.com/t/request-ip-behind-nat/139/5 "2021-02-24T00:04:48Z")

</div>

I’m afraid not. It’s not a priority at this time to be honest. But it should be relatively easy to patch your copy of GenieACS if you need this feature.
