Skip to content

NAT

NAT translates packet addresses at forwarding time. netverdict covers common inside/outside NAT and PAT scenarios plus an ASA-style twice-NAT runtime for selected firewall cases.

AreaLevelNotes
Static NATSupportedOne-to-one inside/outside translation.
Dynamic PATSupportedOverload translation using interface or pool address.
Inside/outside rolesSupportedInterface roles control translation direction.
ASA twice NATBehaviour modelParser and runtime for modelled ASA-style translations.
ALG behaviourNot modelledProtocol helpers are out of scope.
StandardCoverageNotes
RFC 3022Behaviour modelTraditional NAT and NAPT semantics.
Cisco IOS NATBehaviour modelSupported CLI forms and translation order.
Cisco ASA NATPartialTwice NAT model for selected cases.
FeatureStatusNotes
ip nat inside / outsideSupportedInterface direction.
Static inside sourceSupportedFixed local/global mapping.
Dynamic overloadSupportedPAT with ACL-selected source traffic.
NAT poolsPartialSupported where parsed by the current CLI surface.
Translation tableSupportedRuntime translations can be inspected.
ASA object/twice NATBehaviour modelSelected object and twice-NAT forms.
Hairpin NATNot modelledNot a current support claim.
CommandIOS-styleASA-styleVyOS-styleNotes
ip nat inside source static 10.0.0.10 203.0.113.10Supportedn/aPartialStatic NAT.
ip nat inside source list 1 interface GigabitEthernet0/0 overloadSupportedn/aPartialPAT overload.
ip nat insideSupportedn/an/aInterface role.
nat (inside,outside) source static ...n/aPartialn/aASA twice NAT subset.
show ip nat translationsSupportedPartialPartialTranslation table.

NAT is applied as part of forwarding. ACLs select candidate flows, interface roles decide direction, and the translation result feeds the next route lookup or packet decision.

Canonical example
configure terminal
access-list 1 permit 10.0.0.0 0.0.0.255
interface GigabitEthernet0/0
ip nat outside
interface GigabitEthernet0/1
ip nat inside
ip nat inside source list 1 interface GigabitEthernet0/0 overload
end
show ip nat translations

Vendor styles

IOS-style
access-list 1 permit 10.0.0.0 0.0.0.255
interface GigabitEthernet0/0
ip nat outside
interface GigabitEthernet0/1
ip nat inside
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ASA-style
object network INSIDE-NET
subnet 10.0.0.0 255.255.255.0
nat (inside,outside) dynamic interface
VyOS-style
set nat source rule 100 outbound-interface eth0
set nat source rule 100 source address 10.0.0.0/24
set nat source rule 100 translation address masquerade

ALG rewriting, deterministic port-block allocation, NAT64/NPTv6, complex ASA section ordering, and every overlapping-object corner case are not complete.