How to tell IP address of remote machine?

Timothy Murphy gayleard at eircom.net
Sun Oct 25 14:35:31 UTC 2009


Paulo Cavalcanti wrote:

>> >> I had a little program which I ran each day
>> >> as a cron job to mail me the IP address of a machine
>> >> in a different country.

> Why don't you just sign for a free dynamic DNS service, such as noip or
> dyndns?

I am actually subscribed to dyndns, for this machine.

But I normally use openvpn, which works perfectly.
I've had a couple of occasions when openvpn has failed -
as it happened, one time was due to a storm in Italy
when the internet connection went down -
but what I have found is quite nice in the past
is that if openvpn fails I can ssh in, if I know the IP address,
and try to work out what is wrong with openvpn.

Eg openvpn stopped working for a couple of hours
when I upgraded the remote machine (as well as my local server)
to CentOS-5.4.
Strangely, it just started working again a couple of hours later.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the fedora-list mailing list