cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
225
Views
0
Helpful
2
Replies

Port Redirection for external web server requests

jkmutlu
Level 1
Level 1

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

2 Replies 2

tepatel
Cisco Employee
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

Problem Solved! Thanks!!!!

John