Solved

Web server behind a router

Posted on 2004-08-21
14
486 Views
Last Modified: 2008-03-17
This question has been asked numerous times, but none of the answers that i found work.

I want to run a web server from behind my linksys wireless-g with speedbooster router.  Before i installed the router, everthing worked fine, now it doesnt.  this link on the linksys website doesnt work, i cannot find the advanced tab under setup.

A little info on my setup:  running xp pro,  cable modem, IIS 5.1,  using no-ip.com to update my dynamic ip.

whenever I try to go to my site (which is http://www.mywebsite.no-ip.com )  i get a box asking for my username and password for the linksys router, not my website.  I know that because it says "router" in that box, but for my website, i use integrated windows authenication, so the box should say nothing but username and password.

Also, could someone educate my a little bit on how the router works (not physically) (like internal ip, external, mac address etc.)  just some basic knowlege please.

Thanks!
0
Comment
Question by:kylen1010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 2
  • +1
14 Comments
 
LVL 2

Author Comment

by:kylen1010
ID: 11859471
O yea, the topic on the linksys knowlege base for setting up a webserver doesnt work, i cannot find the advanced tab in step 6
0
 
LVL 5

Expert Comment

by:Gitcho
ID: 11859648
Go to the port-forwarding tab, and forward port 80 to your internal IP.
0
 
LVL 5

Expert Comment

by:Gitcho
ID: 11859727
There's some good reading on the basiscs of routers and switches here :

http://www.wi-fiplanet.com/tutorials/article.php/2208381
http://www.hardwarecentral.com/hardwarecentral/tutorials/158/4/

BTW, because security sucks on those routers, it's recommended you use WEP, don't broadcast your SSID, AND filter MAC addresses. Using WPA is ideal (you may have to get a firmware upgrade), because it only takes a couple hours to crack WEP on those things.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 10

Expert Comment

by:avidya
ID: 11860291
HI,

i have an speedtouch modem, WRT54G, xp pro and iis webserver
It works fine for me, maybe i can help you with your settings?
0
 
LVL 1

Expert Comment

by:dynaweb
ID: 11860307
Like Gitcho stated, you need to set up PORT FORWARDING in your router config.  Most routers configs are located at IP 192.168.0.1

Even if you have port forwarding set up, you need to have your connection settings set up properly.

Now for a web server, you want your server to have a fixed IP - the ip is given by the router as in INTERNAL IP.  Since the router itself is most likely assigned itself the IP 192.168.0.1, the DHCP function will dynamically assign your computer one like 192.168.0.* (where * is a number between 1 and 255).  Now this number needs to be the same since you will be forwarding posts to this address.  So go into your CONNECTION PROPERTIES then TCP/IP properties.  Use the IP address you choose (I use 192.169.0.100 for my server).  Subnet mask will be 255.255.255.0 and the GATEWAY is the router's internal IP of 192.168.0.1.

Then in your router config area, set the ports you will be using to forward to IP 192.169.0.100
80 = http
21 = ftp
etc...

Note that with some routers/servers you need to access the web pages from OUTSIDE the network.

Hope this helps.

0
 
LVL 2

Author Comment

by:kylen1010
ID: 11860356
I found a tab the says advanced routing.  It asks for
      Destination LAN IP:  . . .      
      Subnet Mask:  . . .      
      Default Gateway:  . . .      
      Interface: . . .

Is this what i am looking for? If so, what do i need to type in those?


I am using wep, i disabled ssid broadcast, but how do i find the mac address of a computer that i want in the network?  My firmware is up to date and it does not have wpa as an option in security mode.

Thanks
0
 
LVL 5

Accepted Solution

by:
Gitcho earned 100 total points
ID: 11860480
Look for a tab called "Forwarding" (or Port Range Forwarding) in the Applications and Gaming tab.  

Get your internal IP address by clicking on the STATUS tab (192.168.1.??) ... or by opening a dos prompt & typing IPCONFIG  ... it will start with 192.168...

Enter the port range from 80 -> to -> 80, and the destination IP address as your internal IP (192.168.1.whatever) ... if you have a TCP checkbox, click it, and leave the UDP checkbox blank (if available) ... Check the "Enable" box and click OK.

To make sure your local webserver is working, open up IE, and type "localhost" in the address bar.  If you see your pages, you should be good to go.  If not, then your webserver isn't configured correctly.
0
 
LVL 2

Author Comment

by:kylen1010
ID: 11860486
sorry avidya and dynaweb, i was typing when you posted

dynaweb - i realize that i need to setup port forwarding, but i do no know how or where to edit port forwarding.

avidya - where are the settings for port forwarding?  I have model WRT54GS and the firmware is up to date.

Thanks all!
0
 
LVL 5

Expert Comment

by:Gitcho
ID: 11860519
Let me know if my post works ... I believe you have to click on the advanced tab on the WRT54G ...

If you're not having any luck, post the names of the tabs here ...
0
 
LVL 5

Expert Comment

by:Gitcho
ID: 11860542
If you're only using your PC for personal use, and don't need to share your site with the world, I WOULD NOT forward any other ports to your local IP than port 80.  There's far too many script kiddies scanning IP's for open ports.  The general rule is to lock down everything, and only open ports if you have to.  

BTW, if you haven't changed the default admin password for your WRT54G, I would do it right now.  It's not too hard to get into your router's admin remotely, even if remote access is turned off (see http://it.slashdot.org/article.pl?sid=04/06/03/0337205&tid=193&tid=215).


0
 
LVL 1

Expert Comment

by:dynaweb
ID: 11860576
"i realize that i need to setup port forwarding, but i do no know how or where to edit port forwarding"

Your port forwarding is set up in the router config settings.
ftp://ftp.linksys.com/pdf/wrt54g_ug.pdf
(page57)
0
 
LVL 5

Expert Comment

by:Gitcho
ID: 11860593
Basically, you can find answers to any of your router-related questions here:
http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/entry.php
0
 
LVL 2

Author Comment

by:kylen1010
ID: 11861558
I emailed linksys customer support and their soulution was to go to Applications and Gaming,
Port Range Forward, then type in something in the application name, type 80 in the start and end boxes,
select both, enter the last digits of your internal ip, and check enable.

After i read that in the email i did it and it worked.  But i just realized that Gitcho told me to do the same exact
thing and i must have missed it.  My fault.

Thanks to Gitcho!

Thanks for all your attempts avidya and dynaweb!!!

For other people who have this same problem in the future - the port range forward tab is under the applications and gaming tab,
and NOT the advanced tab, as Gitcho thought.
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question