Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

direction

vpn interface nat direction— Configure the direction in which a NAT interface performs address translation (on vEdge routers only). For each NAT pool interface, you can configure only one direction.

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► VPN Interface Cellular (for vEdge cellular wireless routers only)
Configuration ► Templates ► VPN Interface Ethernet
Configuration ► Templates ► VPN Interface NAT Pool
Configuration ► Templates ► VPN Interface PPP

Command Hierarchy

vpn vpn-id
  interface natpoolnumber
    nat
      direction (inside | outside)

Options

Direction To Perform Network Address Translation
(inside | outside)
Direction in which to perform network address translation. It can be one of the following:
inside—Translate the source IP address of packets that are coming from the service side of the vEdge router and that are destined to transport side of the router. This is the default
outside—Translate the source IP address of packets that are coming to the vEdge router from the transport side of the vEdge router and that are destined to a service-side device.

Example

Configure a vEdge router to NAT a service-side and a remote IP address:

vEdge# show running-config vpn 1
interface natpool1
  ip address 10.15.1.4/30
  nat
    static source-ip 10.1.17.3 translate-ip 10.15.1.4 inside
    static source-ip 10.20.25.18 translate-ip 10.25.1.1 outside
    no overload
  !
  direction inside
  no shutdown
!

Release Information

Command introduced in Viptela Software Release 16.3.

Additional Information

See the Using a vEdge Router as a NAT article for your software release.

  • Was this article helpful?