I have a problem and i don't know how to solve it. I need all requests arriving on the WAN interface of R2 with 22,80.800 and 843 ports are redirected to the address 192.168.0.91. Here is my configuration and topology:
access-list 110 permit tcp any host 220.127.116.11 eq 22
access-list 110 permit tcp any host 18.104.22.168 eq www
access-list 110 permit tcp any host 22.214.171.124 eq 800
access-list 110 permit tcp any host 126.96.36.199 eq 843
ip nat outside source static 188.8.131.52 192.168.0.91
ip address 192.168.0.2 255.255.255.128 secondary
ip address 192.168.1.30 255.255.255.0
ip nat inside
ip address 184.108.40.206 255.255.255.0
ip nat outside
when I type the command "sh ip nat translations", this is the result:
Pro Inside global Inside local Outside local Outside global
--- --- --- 192.168.0.91 220.127.116.11
Anyone know what I'm doing wrong?
Well, you don't SSH to the private ip address. That is the whole point of NATing it to a public ip address. If you are just going to SSH to the private ip address, then you don't need to configure NATing at all. If you try to SSH from the internet, then you need to NAT as only public ip address is accessible from the internet.
So from R3, you should be doing the following:
ssh -l abcd 18.104.22.168
Please also share the output of "show access-list"