BTS

Issue898

Title alias to get public IP behind NAT
Priority feature Status resolved
Superseder Nosy List grulli
Assigned To Topics

Created on 2010-08-22.16:48:06 by grulli, last changed 2010-08-22.23:01:53 by mru.

Messages
msg3336 (view) Author: mru Date: 2010-08-22.23:01:53
Already implemented. Use the myip script to your current external ip address.
msg3335 (view) Author: grulli Date: 2010-08-22.16:48:04
A one-liner which would get the current IP of that box you are NATed through:
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e
's/<.*$//' [1]

i'm not sure where that fits best, but IMO a shell-alias should suffice.

[1] some alternatives:
http://www.go2linux.org/what-is-my-public-ip-address-with-linux
History
Date User Action Args
2010-08-22 23:01:53mrusetstatus: unread -> resolved
messages: + msg3336
2010-08-22 16:48:06grullicreate