<
Routers
Find WAN IP via command line
Find WAN IP via command line
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06

a week ago - last edited a week ago
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06
Find WAN IP via command line
a week ago - last edited a week ago
Tags:
#DNS
I want to be get the WAN IP (public ip) address without using an external service or using DDNS (which also relies on some service) and just querying the router. I know I can get this by logging in, but want to be able to do so via command line either via REST API or WGET and passing in user/password and getting the output. Can this be done and does anyone have an example?
#1
Options
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Thread Manage
Announcement Manage
1 Accepted Solution
Posts: 7094
Helpful: 3608
Solutions: 1723
Stories: 0
Registered: 2023-06-09

a week ago - last edited a week ago
Posts: 7094
Helpful: 3608
Solutions: 1723
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line-Solution
a week ago - last edited a week ago
Best Regards!
If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post.
Look for a model? Search your model NOW
Official and Beta firmware. NEW features! Subscribe for the latest update! ☛Download Beta Here☚
☛ ★ Configuration Guide ★ ☚
☛ ★ Knowledge Base ★ ☚
☛ ★ Troubleshooting ★ ☚
● Be kind and nice.
● Stay on the topic.
● Post details.
● Search first.
● Please don't take it for granted.
● No email confidentiality should be violated.
● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#4
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
3 Reply
Posts: 7094
Helpful: 3608
Solutions: 1723
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line
a week ago
Hi @snathan
Thanks for posting in our business forum.
Not sure what you are looking for. Looks like you have several concepts confused.
Any example?
Best Regards!
If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post.
Look for a model? Search your model NOW
Official and Beta firmware. NEW features! Subscribe for the latest update! ☛Download Beta Here☚
☛ ★ Configuration Guide ★ ☚
☛ ★ Knowledge Base ★ ☚
☛ ★ Troubleshooting ★ ☚
● Be kind and nice.
● Stay on the topic.
● Post details.
● Search first.
● Please don't take it for granted.
● No email confidentiality should be violated.
● S/N, MAC, and your true public IP should be mosaiced.
1
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
1
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#2
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06
Re:Find WAN IP via command line
a week ago
Is there a way to get the WAN IP of the router without using an external service via command line?
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#3
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 7094
Helpful: 3608
Solutions: 1723
Stories: 0
Registered: 2023-06-09

a week ago - last edited a week ago
Posts: 7094
Helpful: 3608
Solutions: 1723
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line-Solution
a week ago - last edited a week ago
Best Regards!
If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post.
Look for a model? Search your model NOW
Official and Beta firmware. NEW features! Subscribe for the latest update! ☛Download Beta Here☚
☛ ★ Configuration Guide ★ ☚
☛ ★ Knowledge Base ★ ☚
☛ ★ Troubleshooting ★ ☚
● Be kind and nice.
● Stay on the topic.
● Post details.
● Search first.
● Please don't take it for granted.
● No email confidentiality should be violated.
● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#4
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06

a week ago - last edited a week ago
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06
Information
Helpful: 0
Views: 90
Replies: 3
Voters 0
No one has voted for it yet.
Tags
Report Inappropriate Content
Transfer Module
New message