# IP Address with REMOTE\_ADDRESS()?

**URL:** <https://forum.genieacs.com/t/ip-address-with-remote-address/5424>\
**Category:** Uncategorized\
**Created:** [May 13, 2024, 12:53am UTC](https://forum.genieacs.com/t/ip-address-with-remote-address/5424 "2024-05-13T00:53:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seteBR](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@seteBR](https://forum.genieacs.com/u/seteBR)\
**Post date:** [May 13, 2024, 12:53am UTC](https://forum.genieacs.com/t/ip-address-with-remote-address/5424/1 "2024-05-13T00:53:18Z")

</div>

I’m looking for a way to acquire the WAN IP address of a device received by ACS, and I discovered that it’s already doable with REMOTE\_ADDRESS(), but I can’t figure out how to utilize it. Where can I get more information on this?

---

<div class="post-metadata">

**Author:** ![Felipe](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/felipe/32/1949_2.png) [@Felipe](https://forum.genieacs.com/u/Felipe)\
**Post date:** [May 13, 2024, 11:55am UTC](https://forum.genieacs.com/t/ip-address-with-remote-address/5424/2 "2024-05-13T11:55:49Z")

</div>

`InternetGatewayDevice.WANDevice.1.WANConnectionDevice.${i}.WANPPPConnection.1.ExternalIPAddress`

That’s an example of parameter that give you external IP on huawei ONT

---

<div class="post-metadata">

**Author:** ![seteBR](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@seteBR](https://forum.genieacs.com/u/seteBR)\
**Post date:** [May 13, 2024, 4:06pm UTC](https://forum.genieacs.com/t/ip-address-with-remote-address/5424/3 "2024-05-13T16:06:27Z")

</div>

> [@Felipe](#):
>
> WANConnectionDevice

Sorry, when I say WAN IP, I mean the IP address obtained from a device, as shown in the log file.

```auto
2024-05-13T16:01:32.786Z [INFO] ::ffff:1.1.1.1...

```

---

<div class="post-metadata">

**Author:** ![mike99](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mike99](https://forum.genieacs.com/u/mike99)\
**Post date:** [May 17, 2024, 3:13pm UTC](https://forum.genieacs.com/t/ip-address-with-remote-address/5424/4 "2024-05-17T15:13:52Z")

</div>

Get the address from the log, enter the device in GenieACS and simply enter the IP address. That will show you which parameter have this IP address.

If empty, refresh the whole tree by clicking on the refresh buton next to the root object so InternetDeviceGateway or Device. That will make sure the whole config is in GenieACS instead of only a few values.
