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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLink DSL-504 port redirection problem

Status
Not open for further replies.

sedj

Programmer
Aug 6, 2002
5,610
Hi guys,

I have a DLink Generation 1 DSL-504 router. This works fine for normal internet access accross multiple LAN PCs etc, but have recently set up a linux box as a web server. Inside the LAN, all machines can access the web site served up by this box, but when I tried to put it onto the net via the router, it is not accessible.

I have set up the port redirection from the outside IP to the linux IP on port 80, but it doesn't seem to actually redirect the traffic on that port. I've also tried redirecting other ports like 22, 23 but this does not work either. There are no rules in the filtering blocking incoming http traffic.

I've followed the manuals/how-to's, but still no joy ...

I'm lost !

Thanks for any help
 
1 make sure the box your using as the webserver is set up with a static IP address configured from the router ie 192.168.1.2
Then does your isp provide you with static or dynamic ip address.

If its a dynamic one go to somewhere like
and set up an account, download the ip udater program and install it on one of your machines. This program will automatically send your current IP assigned by your service provider to no-ip

To access your webserver from the net you would then simply time yourname.no-ip.org

Infinity exists! - I just haven't worked out a way to get there yet.

 
Cheers for the reply (though this was 8 months ago) ! Yes, had a static IP. The router was meant to act as a DHCP server, and was assigning the address to the webserver ... however never could get it to work. Ended up buying a decent router !

Click here to learn Ways to help with Tsunami Relief
--------------------------------------------------
Free Database Connection Pooling Software
 
I am having a similar problme. D-Link DSL-504 works fine ordinarily, but cant get port redirection to work at all. The firmware revision is
Current Firmware Version R2.02.b2t8uk
ADSL driver Version 1.3.5.03182002.0001

I bought this unit in 2002; the Install Guide I download the other day looks nothing like my display. There seems to be no information about different firmware versions/release notes on the D-Link web site. The only version of firmware offered for download is 1.00B02T02.UK which looks lower than my current version?? (1.0... vs 2.02...?). Both the install guide and firmware update guide are poor quality PDF documents with no links and poor quality graphics - no help at all. The install guide (and stuff I have found on the web) oviously refere to a different user interface thatn the one on my router. The firmware update comes with nothing so much as a readme file! I suspect this might be the problem but am very reluctant to try upgradading with so little information.

I have a Apache web server running on Windows on 192.168.0.200 (configured via DHCP from the D-Link router) and the router LAN IP gateway address is 192.168.0.1. I have tried to redirect port 8080 to port 80 of the Windows machine. I have a static IP address from my ISP. Pointing the browser at my external static IP just gives a time out.

Anyone else got this working? Thanks for any help.
 
Have you tryed to put the server in the DMZ to test to see if it works there.
 
Yes it works using the DMZ. But only if I use an external proxie to 'come back into' my network - the router cant figure out when it sees its own external IP address.

Then your suggestion made me thing of something else. I re-allocated the Port Redirection to 80 on both sides and added port 80 to the "Exceptions" in Windows Firewall (oviously the web/http/port 80 was working so why it wasn't listed in the Windows firewall of allowed ports I dont know - perhaps Microsoft things it too ovious).

Anyway using the external proxy again the port redirection worked. So now using a less ovious (high numbered) port which I added to Windows Firwall Exceptions *as well* as port 80 and the port redirection still worked! Great problem solved. Just need to check it from a real computer on the ourside but I am quite confident.

It is unclear from the Windows Firewall settings what is an inbound and an outbound port. It would seem to keep it simple Microsoft has not given the user too many options.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top