On 11 May 2004 12:58:50 GMT, Bob Tennent <(E-Mail Removed)> wrote:
> I want to run a Linux box behind a Dlink DI-624 router. I want to allow
> ssh into the Linux box and I can see how to configure the router to
> forward ssh to the PC. But if the router gets an IP address dynamically,
> how can this address be discovered by the PC? (If the PC has the
> address, it can use dyndns to make it known to ssh clients.)
I hacked the firmware of my DI-704 to show its WAN IP on its login page,
so I could monitor it with a Perl LWP deamon script without having to log
into its compilcated mixture of frames/javascript. But I was careful to
replace text in its html login page with exact same number of variable
charcters, so I would not displace its binary code (no change in file
size).
Dynamic DNS services should have an update client that can run as a daemon
behind a router and tickle them at regular intervals to grab your
connecting public IP. I know that no-ip.com does. Although, I currently
use Linux for pppoe/firewall/masq, so I run it once from /etc/ppp/ip-up
which automatically runs whenever getting new ppp IP.
I also heard of one (dyndns.org?) that will stop doing DNS for you if you
update them too often when your IP has not changed.
--
David Efflandt - All spam ignored
http://www.de-srv.com/