running dyndns.org on virtualbox guest os

windstory

New member
Member
VIP
Local time
4:38 AM
Messages
142
I have posted this problem at Linuxquestions, but I could not get any comments.
I think this problem might need windows 7 and/or linux, so I want to post here and want to invite members' opinion on this problem.

---------------------------------

My box is centos 5.3 x86 and host is windows 7 x64.

For installing my-server.dyndns.org on centos, I tried this steps.

1. set local area's ip dynamic. get 192.168.0.3
2. set centos's eth0's ip dynamic. get 192.168.0.14
3. router's dmz to 192.168.0.14 of centos
4. install ddclient on centos
5. install and run xampp for linux 1.7.2
6. test

(1) at windows as host
ping 192.168.0.14 - good
browse http://192.168.0.14 - good
browse http://my-server.dyndns.org - failed
(2) at centos ad guest
ping 192.168.0.14 - good
ping 192.168.0.3 - good
browse http://192.168.0.14 - good
browse http://my-server.dyndns.org - failed
(3) ddclient.conf is here

## ddclient configuration file
daemon=600 # check every 600 seconds
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid # record PID in file.

## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'

## DynDNS username and password here
login=my-id
password=my PASSWORD

## Default options
protocol=dyndns2
server=members.dyndns.org

## Dynamic DNS hosts
my-server.dyndns.org
Please help for resolving this problem.
 

My Computer My Computer

At a glance

windows 7 x64 16385core2duo 6600samsung 1G x 4ati x850
Computer Manufacturer/Model Number
self assembling
OS
windows 7 x64 16385
CPU
core2duo 6600
Motherboard
asus p5b delxe
Memory
samsung 1G x 4
Graphics Card(s)
ati x850
Sound Card
audigy2 zs
Monitor(s) Displays
lg lcd
Screen Resolution
1920 x1200
Hard Drives
samsung 520G
PSU
micronics classic 500W
Case
nctop a380
Cooling
zalman
Internet Speed
lan
Hi there
when you use something like dyndns ( I use no-ip but similar facilities) then the IP address you get back should be the EXTERNAL IP address as seen from OUTSIDE your router - in other words the current IP address your ISP has allocated to you when you first connect to the Internet.

It doesn't matter how many machines you have (real or virtual or a combination of both) on your INTERNAL LAN - you will only have ONE IP address as far as the rest of the Internet is concerned.

Now if you want each individual machine on your lan to act as a web server or whatever you will have to Port Forward 80 (usually but can be 8080 or whatever) to the INTERNAL IP address of the web server you want to log on to.

Since a normal Router will only forward a port to a specific IP address You will have to

1) assign INTERNAL STATIC IP addresses to your network

2) select which port to use for your web server and forward it to the appropriate machine.

(If you are running a web server on a Virtual machine ensure the HOST doesn't time out or comes up with a screen saver otherwise you won't get access to the guest VM unless you've bought the host "out of sleep mode").

Running Linux as a host is usually fine especially if you use something like vmware server for your guest VM's and your web server is on the VM. - you won't then need a GUI in the host - saves resources.

cheers
jimbo.
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Back
Top