05-03-2018 12:03 PM - edited 03-08-2019 02:53 PM
What I am needing to do is do a static PAT to a global IP. The outside interface and inside sub-interface are VRF aware. The non-VRF networks are not natted it is all sent over a VPN.
I am just not sure if i use:
ip nat inside static tcp a.b.c.d 443 w.x.y.z 443
I would think i needed to reference the vrf.
05-03-2018 02:27 PM
Yes, vrf name can be added to the statment.
ip nat inside static tcp a.b.c.d 443 w.x.y.z 443 vrf <vrf name>
HTH
05-03-2018 02:34 PM - edited 05-03-2018 02:35 PM
Hello,
if both the inside and the outside interface are in the same vrf (as I understand they are from your description) the below should be applicable:
ip nat inside static tcp a.b.c.d 443 w.x.y.z 443 vrf vrf-name match-in-vrf
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide