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

Friday - last edited 22 hours ago
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06
Find WAN IP via command line
Friday - last edited 22 hours 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: 7036
Helpful: 3578
Solutions: 1695
Stories: 0
Registered: 2023-06-09

22 hours ago - last edited 22 hours ago
Posts: 7036
Helpful: 3578
Solutions: 1695
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line-Solution
22 hours ago - last edited 22 hours 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: 7036
Helpful: 3578
Solutions: 1695
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line
Yesterday
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
Yesterday
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: 7036
Helpful: 3578
Solutions: 1695
Stories: 0
Registered: 2023-06-09

22 hours ago - last edited 22 hours ago
Posts: 7036
Helpful: 3578
Solutions: 1695
Stories: 0
Registered: 2023-06-09
Re:Find WAN IP via command line-Solution
22 hours ago - last edited 22 hours 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

Friday - last edited 22 hours ago
Posts: 14
Helpful: 4
Solutions: 1
Stories: 0
Registered: 2025-01-06
Information
Helpful: 0
Views: 59
Replies: 3
Voters 0
No one has voted for it yet.
Tags
Related Articles
TL-SG108E best config
935
0
Report Inappropriate Content
Transfer Module
New message