Dynamic IP Address workaround
Szilveszter Ciurdar
ciurdar at hotmail.com
Fri Dec 21 07:15:39 PST 2007
I've had the same problem as most ISPs provide a dynamic IP address to
cable and DSL modems.
That means your public IP address at home can
change. The solution is to set up a domain name where you can reach
your router from the public internet using a free service such as DynDNS. Go to http://www.dyndns.com/ and sign up for a free
account. -Once you create an account and login, go to the My Services
page and select Add Host Service.
-Enter a hostname.
This will be your domain name that you use to access your home network
from the public internet.
-Fill in the IP address from the
status page of your router configuration page.
-Click on add host and you are done here.
Now go back into your router's control panel and find the Dynamic DNS section.
*If your router is missing this, it's time to look into buying a new one.
-Under the Setup tab click on the DDNS tab
-Select DynDNS.org
-Fill in your username and password for your dyndns account.
-Enter the dyndns hostname you
created.
-Save Settings. Now
whenever your IP address changes, your router will
automatically update the information in your dyndns
account.
-If you go to a command line and ping your dyndns host name.
You should now see the same IP address as the
router shows.P.S. My router is the Linksys WRT54GL flashed with DD-WRT. It comes with OpenSSH and I configured public-key encryption which means that I can connect to my home network to browse the internet from anywhere with an internet connection (public wi-fi) without leaving a *nix server running all-the time behind my router.
> Date: Thu, 20 Dec 2007 23:23:54 -0500
> From: gwb3 at Lehigh.EDU
> To: openbsd-newbies at sfobug.org
> Subject: Dynamic IP Address workaround
>
> OpenBSD box (static IP address) sits behind a Wireless DSL router that
> receives a dynamic IP address from ISP.
> I'm thinking that if the box sends an email to my externally hosted
> email address every few hours I can always refer to the most recent
> email received (specifically it's headers) to know what my IP address is
> while away from home.
>
> Question:
> 1. Is there an easier way to always know my dynamic IP address?
> 2. If this is a feasible solution, is there a program that can
> configured to send a template email to a specific address every hour or so?
> 3. Is this something that cron needs to become involved with?
>
> Any advice is much appreciated.
> Thanks
> -gb
>
>
> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies at sfobug.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20071221/139620f7/attachment.html
More information about the Openbsd-newbies
mailing list