I'm not used to doing NAT on Cisco devices, and I'm tasked with bringing in traffic being sent to a public address that is routed to our gateway. I would like to NAT the traffic from our gateway (a Cisco 2901 router running IOS 15.0) to a private address.
From what I've read, I think this might work but I have a feeling I'm missing something.
interface GigabitEthernet0/1.1 ip address 220.127.116.11 255.255.255.252 ip nat outside interface GigabitEthernet0/0.1 ip address 10.2.0.3 255.255.0.0 ip nat inside ip nat inside source static udp 10.0.1.40 5060 18.104.22.168 5060 extendable
22.214.171.124 is one of our private (MPLS) WAN addresses that routes to 126.96.36.199. I'm trying to forward traffic sent to that address to an internal device at 10.0.1.40.
Is that all there is to creating a one-to-one NAT, or am I missing something?