cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
251
Views
5
Helpful
1
Replies

Port redirection behind 2 routers

m.sir
Level 7
Level 7

Hi

I have following scenario

Internet -----R1------R2-----Server

I need , when connected to outside interface of router R1 on tcp port 80 , to be redirected to server behind R2. Between R1 and R2 is running OSPF. Iam able to ping from R1 to server

On R1 is following NAT configuation

ip nat inside source static tcp <server IP> 80 interface <outside int> 80

(and nat inside outside on interfaces)... but access form internet is not working command sh ip nat transaction seems to be ok (traffic is NATed and Inside local, global outside local global are correct) but server is not reachable

I think it should be working if server is connected directly to R1. Any ideas??? Should I do some special configuration on router R2???

1 Reply 1

pkhatri
Level 11
Level 11

Hi,

You do have a default route on R1 and R2, don't you... R2 needs to be able to route out to the Internet, or return traffic will not have a way back.

Would it be possible for you to post the relevant parts of the config (interfaces, nat, routes etc)

Paresh

Review Cisco Networking for a $25 gift card