I have a Cisco3900 called router A (192.168.100.1), which is interconnected to another router B (192.168.100.2). I want to access my server C 220.221.x.x (which is on internet).
Router A (192.168.100.1) is configured with:
ip route 220.221.x.x 255.255.255.255 192.168.100.2
Pinging 220.221.x.x from router A 192.168.100.1 works, all ssh,telnet, works.
I want to open a port at 192.168.100.1 like 192.168.100.1:8080 forwarding traffic to 220.221.x.x:80
For example, when I visit 192.168.100.1:8080, it should show 220.221.x.x:80 data.
How can I configure Router A to forward port 8080 requests to 220.221.x.x:80?
ip nat inside source static tcp 220.221.x.x 80 192.168.100.1 8080
but when i try to load 192.168.100.1:8080, it hangs up and nothing like 220.221.x.x:80 opens. I want it to load 220.221.x.x:80 website.