I have a task to configure IOS NAT like proxy-server:
Local net Cisco ISR
Every packet from local network 10.0.0.1/24 to cisco's inside interface 10.0.0.1 port 445 should be redirected to Internet address 22.214.171.124 with source address 126.96.36.199 (cisco's outside interface). How can I do that?
I try this:
ip nat ip nat outside source static tcp 188.8.131.52 445 10.0.0.1 445
ip nat inside source list TO-INET interface GigabitEthernet0/0 overload
ip access ext TO-INET
perm tcp host 10.0.0.1 host 184.108.40.206
It doesn't work.
Your nat is correct except that nat only occurs as the traffic passes from a inside to outside interface... at least in your case.
Since the traffic is sent to the routers ip itself it does not even leve the inside interface.
You should be able to policy route the traffic to the outside interface to cause the nat to occur. You will want to set the nexthop to be the router of your ISP.