Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configuring apache with d link router dgl 4500

Status
Not open for further replies.

xhacker24x

Technical User
Mar 25, 2008
80
US
how would i go about using DYNSNS after signing up?
 
ok i am able to access mt web server from my own network here at my house but, i gave my friends the ip address that i got from whatismyip.com but, all they get is a page that says page cannot be displayed?
any idea why that might be?
thank you?
 
ok im in my router settings
and it says
Name apache1
ip address 19.168.0.136
tcp ports 80
udp ports 80,443
schedule always
inbound filter allow all
is all this correct or do i need to make some changes in order to share files with my friends?
thank you
 
I think it should be
192.168.0.136
not
19.168.0.136

Also, you don't have to wait for your friends, use some web tool to see if it can get to your page:


I would start with the outside IP of your router, like
like
(not the 192 address, that can't be reached)

then if that works, use the
name you used in dydns.

After that works, then you can work on download security if you want it.
 

So if it returned 12.34.56.78


You can test yahoo with the tester to see the output:

or
(one of Yahoo's web server)

Typing in the IP takes DNS out of the equation.

For dyndns, read this:


The free service allows you to create a name (in their domain) that you can assign to your IP (the return from whatsmyip.com).

Create an account, then login.

go to My Hosts, create a host (the domain is drop down box on the right, you will a variety of funky domains)
and enter your current IP (that is right, the one from whatsmyip.com)

that is all
 
ok i created an account i did everything that it said to do
and downloaded the update client and installed it and i tried checking the port to see if it works and it says
An attempted connection to 66.68.204.150:80 timed out. This typically indicates that traffic to that port is being actively blocked by either a firewall or your ISP.
so what does this meen and how can i correct this?
also is the hostname i created..is that the name i give to my friends to share files with?
or is it something else?
after i downloaded the client upadater it is a red box with a check mark and it pops up and says
DYNDNS UPDATER
IP 66.68.204.150
UPDATERD: CANNOT DETECT THE LAST UPDATE TIME.
what does all this meen?
thank you

 
also i get this on the (open port tool)
This tool allows users to determine if their ISP blocks incoming ports. To prevent abuse, checks take at least one second to perform.

Common Ports
21 - FTP
22 - SSH
23 - Telnet
25 - SMTP
80 - HTTP 443 - HTTPS
Your IP Address:66.68.204.150
Host and Port:66.68.204.150
 
i also get this pop up that says
UPDATE RESULTS ERROR NO UPDATES.
 
When you signed up for dyndns, did you give them a port you wanted to use? If not, you can use something like 8080. When you created the account, you should have gotten a user name. This username get prepended to their domain creating a sub-domain. Let's say you used xhacker24x as your user name. The address to your website would be When your friends use that address, the request goes to dyndns.com's dns servers which will forward the request to your current ip address on the port you specify (8080 for example). Once you get that taken care of, you need to tell apache to listen on port 8080. To do that open httpd.conf and edit:

Code:
Listen 80

to

Listen 8080

You don't need to bind to an address because apache will listen for all addresses by default. On the subject of addresses, I see that you have the server's ip set at 192.168.0.136. This is in the range of the router's dhcp addresses. I'm inclined to believe that the server is still getting the ip automatically. Type ipconfig at the command shell and see if it has changed. I thought we set it to 192.168.0.10 last night. You will need to change the port forwarding for the server to the correct ip address and port.
 
give them a port no i didnt cuz i didnt know how to do that and the user name yeah its xhakers24x that i chose
and when i type ipconfig it says ip addres 192.168.0.10
in the open port tool it says
Host and Port:66.68.204.150 and in another box it says 80
in the
httpd. conf it says
Listen 12.34.56.78:80
Listen 80
i dont know if thats right or not.
but whehn i use the DYNDNS OPEN PORT TOOL
it says
An attempted connection to 66.68.204.150:80 timed out. This typically indicates that traffic to that port is being actively blocked by either a firewall or your ISP.
i dont know what else to do.
thank you


 
This is a DGL-4500 router?

First, I was wrong about DYNDNS. The DGL-4500 has a DYNDNS page that will connect back to DYNDNS, so if your IP changes it will change accordingly. Pretty cool. But lets not play with this now, just use the ip address returned from whatismyip.

Lets get the port forwarding to work.

First, you don't need UDP. You don't need port 443 (SSL). All you need is port 80, TCP. That is what http runs as.

Second, are you editting the screen for Advanced/Virtual Server? That is the one you need to Port Forward (this manual is crap, it mentions Port Forward but the function isn't named port forward.)

Okay, that one should be:

Enable (check)
Name (your choice)
IP Address (192.168.0.136)
Protocol TCP
Private port 80
public port 80
schedule always
inbound filter allow all

The public port is how you might get around your ISP hosting restrictions. So the default for http/web is 80.
If we pick a number, say 8000, if we change the public port to 8000 (we don't have to change the web server, it stays at 80, your router will "forward" the connection from the internet at port 8000 to port 80 internally) but now the URL would be:

(the :XXXX is for the port number)

But lets see if it works with 80 first, so you don't need the :XXXX

if you added rules elsewhere, they are wrong (access control or filtering).
 
ok i put what you said im ny router settings and i klik on add and i get a pop up box that says
private port should be in range (1..655355)
 
What do you have in that box now? If you have 80, that is in that range.
 
ok i go to the settings page of my router and yeah by the way i have the d link dgls 4500 router.
ok so then i go to the advanved tab and then gaming.
and in there is says the following.
NAME Apache1
IP ADDRESS 192.168.0.136
TCP PORTS 80
UDP PORTS 80,443
SCHEDULE ALWAYS
INBOUND FILTER ALLOW ALL
ENABLED IS CHECKED
 
ok the ip address has been changed to 192.168.0.10
what should i do now?
thank you
 
yeah i kliked save and my router rebooted so i did that
 
I typed your public ip and got this:

Index of /
Don't Be a Menace to South Central
INXS - What You Need.mp3
Motley Crue - Dr. Feelgood.mp3
Thumbs.db


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top