Click here to Skip to main content
13,196,730 members (77,209 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.3K views
2 bookmarked
Posted 24 May 2014
MIT

#linux #raspberrypi Router with Dynamic DNS

, 24 May 2014
Rate this:
Please Sign up or sign in to vote.
Walkthrough of the configuration of the dynamic DNS for an easier access to your home network when you are not there

One more article about controlling your home network with the raspberry pi router. This article is the sequel of "Creating a wireless router...".

In this "episode", I will walkthrough the configuration of the dynamic DNS for an easier access to your home network when you are not there!

For this, you need to create an account in http://freedns.afraid.org/ and then create an a record on the Dynamic DNS section of the site. After this, click on "Wget Script". On the downloaded file, you will see something like this:

wget -q --read-timeout=0.0 --waitretry=5 --tries=400 
--background http://freedns.afraid.org/dynamic/update.php?UPDATETOKEN

The DNS update token is represented above as UPDATETOKEN.

Next step is:

sudo apt-get install inadyn

Edit the file "/etc/inadyn.conf" with the following content, replacing USER, PASSWORD, HOSTNAME, UPDATE_TOKEN.

--username USER
--password PASSWORD
--updateperiod 60000
--forcedupdateperiod 320000
--alias HOSTNAME, UPDATETOKEN
--background
--dyndns_system default@freedns.afraid.org
--syslog

Then, add the update instruction to root crontab:

sudo crontab -e
*/10 * * * * /usr/sbin/inadyn

The last step is to configure your root to Forward the network traffic into your rooter ip. You can check "/var/log/syslog" for errors on the update.

Next step for me is configure the openvpn to allow full network access to the others raspberries.

If you like this, share it and it will be like a bookmark for your future remembering.

Visit www.divhide.com for more information, contacts and news about Web Development.

See other blog posts at blog.divhide.com.

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.

Feel free to contact divhide.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

aetheon
Web Developer
Portugal Portugal
No Biography provided

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171019.1 | Last Updated 25 May 2014
Article Copyright 2014 by aetheon
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid