Port Redirection for external web server requests

Unanswered Question
May 29th, 2002
User Badges:

I have a web server that I'd like to make accessible from outside my network using the public IP on the T1 side of my 2600 router. I'd like all incoming port 80 requests to forward to my web server's private IP. I made the following config changes but I can't access the default page on my server:


access-list 110 deny tcp host 192.168.2.11 any eq www

access-list 110 permit tcp any any eq www

route-map MyWebServer permit 10

match ip address 110

set ip next-hop 192.168.2.11


interface Serial0/0

ip policy route-map MyWebServer


Any help would be greatly appreciated!

John

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
tepatel Thu, 05/30/2002 - 12:48
User Badges:
  • Cisco Employee,

You can achive the same using just one command..like


ip nat inside source static tcp 80 80


int-ip-web-server = Internal ip address of the web server

public-ip-T1= Public ip address of T1 interface (web server)


Above command will do the following


translates the destination of the IP packets that are traveling outside to inside

translates the source of IP packets that are traveling inside to outside


Pl. visit the later part of the follwing url for more information


http://www.cisco.com/warp/public/556/9.html


Actions

This Discussion