[nzlug] wan ip address
Sid Bachtiar
sid.bachtiar at gmail.com
Fri Jul 28 10:26:44 NZST 2006
> > You should be able to use wget to get the status page from the router,
> > then parse it and strip out the ip address.
> >
> > Both methods are more reliable than relying on an external site (I've
> > seen it fail too many times for comfort).
>
> uuh, very sexy method. I might look into that.
>
> I use dyndns and a little dyndns updater for OsX on my mac-mini (my
> fileserver) in conjunction with the Ubuntu box that is actually the
> webserver. Seems to work fine. But David's method is of course very
> sophisticated.
Actually, I think ddclient already has an option for doing this, by
using option use=fw (firewall). I just couldn't get it working the
first try so I took the easier option (until I have the time to try
better option).
More information about the NZLUG
mailing list