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!

Web Server via Cisco 801?

Status
Not open for further replies.

jhowley58

Programmer
Jun 25, 2001
207
US
Hi,

I hope this is the right Forum for this question. :eek:)

My system includes a Windows 2000 Server (Small Business System) with a Cisco 801 router connecting it to the outside world. I've set up Web pages on the Server and followed the instructions to make the server a 'web server'. I cannot get at the web pages , however, because the IP for the server is hidden from the Web by the Cisco router. How can I expose the server web pages without bypassing the router entirely?

Thanks,

JohnH.
 
if you want people on the outside to be able to connect to your webserver then you need to use static nat and port redirection

Global Config
ip nat inside source static tcp X.X.X.XInside 80 interface e1

-or-

ip nat inside source static tcp X.X.X.XInside 80 X.X.X.XOutsideIPofRouter 80 extendible

the internet users will point their browser toward the IP address of the outside router interface and their web request will be redirected to the internal web server.

don't forget
int e0
ip nat inside

int e1
ip nat outside
.....and whatever other nat cmds you may be using for your inTRAnet.
pretty sure e1 is the default outside interface on the 8xx series, then again the 801's may be an isdn router (1e,1bri), i forget exactly.



-gC-
 
make sure that your acls permit traffic to hit the outside routers interface

-i.e.

access-list 123 permit tcp any gt 1023 X.X.X.XOutsideIPofRouter eq http
access-list 123 permit tcp any eq http any established
access-list 123 permit udp any(or your ISP's DNS) eq domain any
access-list 123 deny any any log

int e1
ip access-group 123 in


the 2nd and 3rd lines in the acl are so you won't block off web services from your internal users browsing the internet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top