Monday, November 15, 2010

Meagan Good White Guys

Access to computers using dynamic public IP DNS Dynamic


NOTE: In Mexico, only the ISP Telmex (to my knowledge) offers dynamic public IP addresses to their users by default. Other ISPs, most cable companies (Megacable, Cablevision, etc), provided by default private IP addresses not being able to do what is explained below.

Sometimes we need access from Internet to our computer at home. Although we do using the address Public IP provides us with our ISP, to be dynamic it can change at any time leaving us incommunicado. There is a solution to this and is called Dynamic DNS .

DynDNS.com to associate a dynamic IP address to one or more subdomains of a large list of available domain names, including dyndns.org. Internet can be accessed from our home server using the subdomain minombre.dyndns.org. To do this we need to install a DynDNS client on our server that is responsible to inform and update the settings in DynDNS.com when the public IP changes.

First you need to sign in DynDNS.com. Once registered, you will receive A confirmation email we logueamos and go to "My Account", then "My services", in "Host Services" choosing "Add Hostname" and follow the wizard.

Then you have to configure the router ports and redirecting Telmex desired services to our server. This is done from the "intruders Lock Settings", choose the computer you want to redirect the port and add the desired service (Web, SSH, etc). If the service is not listed, you can add a personalized by clicking on "Add a new user defined application."

Then, on our server, install ddclient is a client for DynDNS: # aptitude

install ddclient
During installation it will ask the provider of Dynamic DNS service, choosing www.dyndns.com , placing the user and DynDNS password. Then he replied that If to the question of whether we want to obtain the IP address by checkip.dyndns.com. Then select the option from a list as the methods of selection for updated names.

If during the process marks a product of an error error in DynDNS password or user can run the following command to reconfigure ddclient.
# dpkg-reconfigure ddclient

can also be configured manually through the file / etc / ddclient.conf:
protocol = dyndns2
use = web, web = checkip.dyndns.com, web-skip = 'IP Address' server = members.dyndns.org

usuariodeDynDNS
login = password = 'passwd'


If you have to adjust manually restart the Web service and service ddclient:
/ etc/init.d/apache2
/ etc / init.d / ddclient


The / etc / default / ddclient also has settings:
run_ipup = "false"
run_daemon = "true"
daemon_interval = "1800" Alternatively


Dynamic DNS is to use No-IP.com and noip2 client is in the debian repositories.

0 comments:

Post a Comment