# RUTX50 does not provide external IP in status response

**URL:** <https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346>\
**Category:** Networking Solutions\
**Created:** [February 19, 2025, 4:07pm UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346 "2025-02-19T16:07:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![milunj](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@milunj](https://community.teltonika.lt/u/milunj)\
**Post date:** [February 19, 2025, 4:07pm UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/1 "2025-02-19T16:07:06Z")

</div>

RUTX50 does not provide external IP in status response (under section of MOB1S1A1)  
JSON response is below:  
curl -X GET “[https://172.24.64.20/api/system/device/status](https://172.24.64.20/api/system/device/status)” -H “Content-Type: application/json” -H “Authorization: Bearer " -k  
{“success”:true,“data”:{“mnfinfo”:{“macEth”:”\*\*\*\*\*\*\*\*\*\*\*“,“name”:“RUTX5000XXXX”,“blver”:“2.3”,“hwver”:“0202”,“batch”:“0019”,“serial””,“mac”:“\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*”},  
“static”:{“fw\_version”:“RUTX\_R\_00.07.12”,“kernel”:“5.10.229”,“system”:“ARMv7 Processor rev 5 (v7l)”,“device\_name”:“RUTX50”,“cpu\_count”:4,“hostname”:“RUTX50”,“release”:{“distribution”:“OpenWrt”,“revision”:“r16279-5cc0535800”,“version”:“21.02.0”,“target”:“ipq40xx/generic”,“description”:“OpenWrt 21.02.0 r16279-5cc0535800”},“fw\_build\_date”:“2025-01-17 12:31:32”,“model”:“RUTX50”,“board\_name”:“teltonika,rutx”},“features”:{“ipv6”:true},  
“board”:{“modems”:[{“operator\_scan”:true,“volte”:true,“low\_signal\_reconnect”:true,“dhcp\_filter”:true,“vendor”:“2c7c”,“revision”:“RG501QEUAAR12A11M4G\_04.200.04.200”,  
“wwan\_gnss\_conflict”:false,“desc”:“Quectel RG50X”,“type”:“gobinet”,“boudrate”:“115200”,“verizon\_disable\_5g\_sa”:false,“simcount”:2,“stop\_bits”:“8”,  
“framed\_routing”:true,“csd”:false,“num”:“1”,“red\_cap”:false,“gps”:“1”,“id”:“2-1”,  
“primary”:true,“modem\_func\_id”:2,  
“band\_list”:[“WCDMA\_850”,“WCDMA\_900”,“WCDMA\_2100”,“LTE\_B1”,“LTE\_B3”,“LTE\_B5”,“LTE\_B7”,“LTE\_B8”,“LTE\_B20”,“LTE\_B28”,“LTE\_B32”,“LTE\_B38”,“LTE\_B40”,“LTE\_B41”,“LTE\_B42”,“LTE\_B43”,“NSA\_5G\_N1”,“NSA\_5G\_N3”,“NSA\_5G\_N5”,“NSA\_5G\_N7”,“NSA\_5G\_N8”,“NSA\_5G\_N20”,“NSA\_5G\_N28”,“NSA\_5G\_N38”,“NSA\_5G\_N40”,“NSA\_5G\_N41”,“NSA\_5G\_N77”,“NSA\_5G\_N78”,“5G\_N1”,“5G\_N3”,“5G\_N5”,“5G\_N7”,“5G\_N8”,“5G\_N20”,“5G\_N28”,“5G\_N38”,“5G\_N40”,“5G\_N41”,“5G\_N77”,“5G\_N78”],  
“gps\_out”:true,“product”:“0800”,“auto\_5g\_mode”:false,“control”:“2”,“builtin”:true,“ipv6”:true,“dynamic\_mtu”:true,“multi\_apn”:true}],  
“network”:{“wan”:{“device”:“eth1”,“proto”:“dhcp”},“lan”:{“device”:“eth0”,“proto”:“static”,“default\_ip”:“192.168.1.1”}},  
“release\_version”:“7.2.8”,“usb\_jack”:“/usb3/3-1/”,“network\_options”:{“readonly\_vlans”:2,“max\_mtu”:9000,“vlans”:128},  
“model”:{“id”:“teltonika,rutx”,“platform”:“RUTX”,“name”:“RUTX50”},“switch”:{“switch0”:{“enable”:true,“roles”:[{“ports”:“1 2 3 4 0”,“role”:“lan”,“device”:“eth0”},  
{“ports”:“5 0”,“role”:“wan”,“device”:“eth1”}],“ports”:[{“device”:“eth0”,“num”:0,“want\_untag”:true,“need\_tag”:false},{“role”:“lan”,“num”:1},{“role”:“lan”,“num”:2},  
{“role”:“lan”,“num”:3},{“role”:“lan”,“num”:4},{“device”:“eth1”,“num”:0,“want\_untag”:true,“need\_tag”:false},{“role”:“wan”,“num”:5}],“reset”:true}},  
“hwinfo”:{“esim”:false,“modem\_reset\_quirk”:false,“mt7981\_wifi”:false,“bacnet”:false,“access\_point”:false,“boot\_part”:false,“sw\_offload”:false,  
“hi\_storage”:false,“sd\_card”:false,“downstream\_kernel”:false,“gigabit\_port”:true,“dot1x\_client”:false,“port\_link”:true,“ios”:true,  
“baseband”:false,“io”:false,“ethernet”:true,“hw\_offload”:false,“rs232”:false,“power\_control”:false,  
“bluetooth”:false,“64mb\_ram”:false,“multi\_device”:false,“dsa”:false,“mbus”:false,“at\_sim”:true,“hnat”:false,“usb”:true,“micro\_usb”:false,“gateway”:false,  
“poe”:false,“sfp\_port”:false,“usb\_port”:false,“rs485”:false,“wifi”:true,“ntrip”:false,“hw\_nat”:true,“modbus”:false,“soft\_port\_mirror”:false,  
“industrial-access-point”:false,“single\_port”:false,“dual\_band\_ssid”:true,“2\_5\_gigabit\_port”:false,“wps”:false,“nat\_offloading”:true,  
“dual\_modem”:false,“console”:false,“xfrm-offload”:true,“ledman\_lite”:false,“testing\_kernel”:false,“guest\_wifi”:false,“serial\_reset\_quirk”:false,“bt”:false,“tlt\_failsafe\_boot”:false,  
“pppmobile”:false,“port\_mirror”:false,“gps”:true,“dual\_sim”:true,“bpoffload”:false,“qrtrpipes”:false,“ncm”:false,“smp”:false,“rootfs\_part”:false,“verified\_boot”:false,“vendor\_wifi”:false,  
“mobile”:true,“basic\_router”:false,“serial”:false,“rndis”:false,“high\_watchdog\_priority”:false,“tpm”:true,“multi\_tag”:true},  
“serial”:[{“external\_devices”:}],“wlan”:{“wlan1”:{“bssid\_limit”:16},“wlan0”:{“bssid\_limit”:16}}}}}

---

<div class="post-metadata">

**Author:** ![Mike](https://community.teltonika.lt/user_avatar/community.teltonika.lt/mike/32/25283_2.png) [@Mike](https://community.teltonika.lt/u/Mike)\
**Post date:** [February 19, 2025, 6:54pm UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/2 "2025-02-19T18:54:36Z")

</div>

The response you have posted contains sensitive information, such as …

Bearer Token  
Serial Number  
MAC

I suggest you anonymize the JSON response and repost.

I’d also suggest you ‘prettify’ the response before you post it, as not many people are going to be bothered to sort through the format you posted. Use Postman, or similar, to ‘prettify’.

Look here → [RUTX50 API documentation](https://developers.teltonika-networks.com/reference/RUTX50/7.12.3/v1.4.3/system#get-system-device-status) for message specs.

If you look at the _/system/device/status_ schema for the JSON response, it does not include the Public WAN IP.

Possible API calls that may meet your requirement are …

_[/api/ip\_routes/ipv4/status](https://developers.teltonika-networks.com/reference/rutx50/7.12.3/v1.4.3/ip-routes#get-ip_routes-ipv4-status)_  
_[/api/ip\_routes/ipv6/status](https://developers.teltonika-networks.com/reference/rutx50/7.12.3/v1.4.3/ip-routes#get-ip_routes-ipv6-status)_

If you are behind NAT, then the IP returned will not be the same IP that represents you to the internet - it will be the private network IP.

If you are routing all traffic over a VPN such as WireGuard, then it will return the Public IP that your device has adopted from the VPN endpoint.

When using the API documentation, don’t forget to first set your model and its firmware version.

 ![image](https://community.teltonika.lt/uploads/default/original/2X/5/5a51106b8aefb5cf0453f71dd97604e942af2250.png)

---

<div class="post-metadata">

**Author:** ![Daumantas](https://community.teltonika.lt/user_avatar/community.teltonika.lt/daumantas/32/29_2.png) [@Daumantas](https://community.teltonika.lt/u/Daumantas)\
**Post date:** [February 20, 2025, 9:40am UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/3 "2025-02-20T09:40:58Z")

</div>

Hi,

To get the IP address of the mobile interface(-es), you can you the following call:

```auto
{{baseUrl}}/interfaces/status

```

It returns the information about all network interfaces. Keep in mind, that it’s not currently possible to get the external (public) IP address of an interface via the API. With my suggested call you’ll only get the IP addresses assigned to the interfaces.

Best regards,

---

<div class="post-metadata">

**Author:** ![Marija](https://community.teltonika.lt/user_avatar/community.teltonika.lt/marija/32/17132_2.png) [@Marija](https://community.teltonika.lt/u/Marija)\
**Post date:** [April 1, 2025, 6:48am UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/4 "2025-04-01T06:48:03Z")

</div>

Hello @milunj,

Apologies for the delayed response.

Could you please confirm whether your issue has been resolved, or if you still require assistance?

Best regards,

---

<div class="post-metadata">

**Author:** ![milunj](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@milunj](https://community.teltonika.lt/u/milunj)\
**Post date:** [April 1, 2025, 7:09am UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/6 "2025-04-01T07:09:06Z")

</div>

Hi Marija,  
the problem is resolved with: {{baseUrl}}/interfaces/status command  
Thanks

---

<div class="post-metadata">

**Author:** ![Marija](https://community.teltonika.lt/user_avatar/community.teltonika.lt/marija/32/17132_2.png) [@Marija](https://community.teltonika.lt/u/Marija)\
**Post date:** [April 1, 2025, 7:10am UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/7 "2025-04-01T07:10:13Z")

</div>

Thank you for confirming!

Best regards,

---

<div class="post-metadata">

**Author:** ![system](https://community.teltonika.lt/user_avatar/community.teltonika.lt/system/32/15707_2.png) [@system](https://community.teltonika.lt/u/system)\
**Post date:** [April 3, 2025, 7:10pm UTC](https://community.teltonika.lt/t/rutx50-does-not-provide-external-ip-in-status-response/12346/8 "2025-04-03T19:10:23Z")

</div>

Closed on April 3, 2025, 7:10pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
