Fortinet white logo
Fortinet white logo

Online Help

Cisco PIX and ASA NAT merge examples

Cisco PIX and ASA NAT merge examples

For more information about how FortiConverter handles NAT merges, see NAT merge options

tooltip icon For ASA, these examples are valid only for source configurations created using software versions 8.2.x and earlier.

NAT rule and policy addresses don't match exactly

When a NAT rule address doesn't match a policy address exactly, FortiConverter calculates where the addresses intersect (overlap) and uses the result as the address for the NAT policy it generates.

NAT exemption

NAT exemption is a dynamic policy NAT with ID 0. In most cases, you use NAT exemption to do one of the following:

  • Exempt from NAT an address that is located in a NAT rule address range.
  • In environments that use NAT control to block traffic to which no NAT rule applies, to permit this type of traffic.

Unused VIP objects generate policy

In some cases, the final policy in an output configuration is one that FortiConverter generates from VIP objects that aren't used as a destination address in at least one policy. For example:

edit 001

set srcintf "port1"

set dstintf "any"

set srcaddr "all"

set dstaddr "vip- 172.21.84.24" " vip- 172.21.84.25" " vip- 172.21.84.26"

set service "ALL"

set schedule "always"

set logtraffic all

set status enable

set action deny

set comments "This policy is auto-generated by FortiConverter to activate static-NAT VIPs that aren't referenced in other policies."

next

This type of policy enables the source static NAT mapping by capturing all VIP objects that other policies don't reference.

In some conversions, FortiConverter generates more than one of this kind of policy – one for each external interface that is referenced by an unreferenced VIP object.

Cisco PIX and ASA NAT merge examples

Cisco PIX and ASA NAT merge examples

For more information about how FortiConverter handles NAT merges, see NAT merge options

tooltip icon For ASA, these examples are valid only for source configurations created using software versions 8.2.x and earlier.

NAT rule and policy addresses don't match exactly

When a NAT rule address doesn't match a policy address exactly, FortiConverter calculates where the addresses intersect (overlap) and uses the result as the address for the NAT policy it generates.

NAT exemption

NAT exemption is a dynamic policy NAT with ID 0. In most cases, you use NAT exemption to do one of the following:

  • Exempt from NAT an address that is located in a NAT rule address range.
  • In environments that use NAT control to block traffic to which no NAT rule applies, to permit this type of traffic.

Unused VIP objects generate policy

In some cases, the final policy in an output configuration is one that FortiConverter generates from VIP objects that aren't used as a destination address in at least one policy. For example:

edit 001

set srcintf "port1"

set dstintf "any"

set srcaddr "all"

set dstaddr "vip- 172.21.84.24" " vip- 172.21.84.25" " vip- 172.21.84.26"

set service "ALL"

set schedule "always"

set logtraffic all

set status enable

set action deny

set comments "This policy is auto-generated by FortiConverter to activate static-NAT VIPs that aren't referenced in other policies."

next

This type of policy enables the source static NAT mapping by capturing all VIP objects that other policies don't reference.

In some conversions, FortiConverter generates more than one of this kind of policy – one for each external interface that is referenced by an unreferenced VIP object.