LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2006, 07:45 AM   #1
dus3d
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
Need Help Setting Up My Web Server Using D-link 604 Router


hi, i am new to linux and i was wondering if someone out there could help me with my problem, I am using Mandrake 10.1 sharing my internet with a Windows XP desktop using D-LINK 604 router, I have alread installed everything and i can access the webpage within the LAN, but i can't seem to access outside LAN. When I try to access the page using my WAN IP, i get a "SERVER TIMED OUT" error message. I would really appreciate your help, thanks. You can also send me a message through YM my email is dus3d@yahoo.com
 
Old 04-13-2006, 08:10 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Two questions:

1) Does your Mandrake box have a static IP on your LAN?

2) Does your router forward port 80 to that static IP address?
 
Old 04-14-2006, 04:26 AM   #3
dus3d
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, my mandrake has a static ip on lan but im not sure if my router forwards port 80 to that ip. I think there's no port forwarding in my router. but there is something like port forwarding. it's Virtual server, I think it's similar to port forwarding, but im not sure. I have added the ip and port of my mandrake box in the Virtual server option from the router config. Have you used a D-Link DI-604 router?
 
Old 04-14-2006, 08:42 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I haven't used that router (mine is a Linksys) but for this to work there absolutely must be a way for the router to send traffic headed for port 80 to the static IP address of your Mandrake box.

I did a little googling and found the FAQ for your router, and it does do port forwarding. It looks like you set it up on the Advanced tab. You need to enter the static IP of your Mandrake box and then make sure public port 80 is directed to private port 80 (if that is what Apache is running on) and then hit Apply.
 
Old 04-15-2006, 03:25 AM   #5
dus3d
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I finally got it.. Thank You Very Much... God Bless You
 
Old 04-15-2006, 08:30 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Congrats! Now if I were in your shoes, I would head over to the Security forum and start reading on how to secure and monitor your server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH in past router (D-Link DI-604) Chuk Linux - Networking 15 12-17-2007 01:42 AM
OT? Hacking the D-Link DI-604 4-port router - not wireless BlackCat3416 Programming 3 07-20-2005 08:54 PM
D-Link 604 router w/ DHCP chbin Linux - Networking 4 03-27-2005 12:37 AM
setting up web server and D-Link router jax8 Linux - Networking 2 06-09-2004 12:54 PM
D-link router and web server problem peteABK Linux - Networking 0 06-02-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration