This article describes how to configure Destination NAT (DNAT) IPv4-to-IPv4 on Versa FlexVNF CPE
DNAT-44 is used when customer wants to expose a server on LAN segment to be accessible for internet-based clients.

Prerequisites
Use Case:
Here the user on the internet wants to access a server residing within the LAN segment of the Versa FlexVNF CPE.
The server is accessible on private IP address 192.168.2.69 on the LAN segment and a client with a public IP is trying to access it from internet.
Once the traffic reaches the FlexVNF and process the DNAT.
Configuring DNAT
Creating a Pool





The next step is to define the network address match criteria and the action to be taken when the criteria is met.
Configuring rules


To configure the criteria, select traffic for translation, click the Match tab.
All the traffic matching this criterion will be ‘NAT’ed.



Validation
You can monitor the session details and NAT Pool/Rule/usage as below.
Below is the session extensive CLI output for a session. You can find the NAT-Rule, Interfaces, source and destination IP Address.

Troubleshooting Steps
Check the session is created on FlexVNF or not.

Check the CGNAT Rule hit count.

Check the sessions extensive and make sure the session is hitting the specific Rule/Interfaces/NAT.