Wednesday, September 11, 2019

NAT On A Cisco Router

I had a situation come up where I needed to NAT traffic that was being routed through a Cisco router. It was a quick fix to a greater problem, but it works. Below is the config to do this:
config t
ip nat pool ToAWS 10.10.10.200 10.10.10.201
access-list 100 permit ip 10.100.0.0 0.0.255.255 10.200.0.0 0.0.255.255
ip nat inside source list 100 pool ToAWS
interface GigabitEthernet0/0/0
ip nat inside
interface GigabitEthernet0/0/2
ip nat outside
exit
wr mem

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.