Create an NPTv6 Policy
Perform this task when you want to configure a NAT NPTv6 policy to translate one IPv6 prefix to another IPv6 prefix. The prerequisites for this task are:
- Enable IPv6. Select DeviceSetupSession. Click Edit and select IPv6 Firewalling.
- Configure a Layer 3 Ethernet interface with a valid IPv6 address and with IPv6 enabled. Select NetworkInterfacesEthernet, select an interface, and on the IPv6 tab, select Enable IPv6 on the interface.
- Create network security policies, because NPTv6 does not provide security.
- Decide whether you want source translation, destination translation, or both.
- Identify the zones to which you want to apply the NPTv6 policy.
- Identify your original and translated IPv6 prefixes.
- Create a new NPTv6 policy.
- Select PoliciesNAT and click Add.
- On the General tab, enter a descriptive Name for the NPTv6 policy rule.
- (Optional) Enter a Description and Tag.
- For NAT Type, select NPTv6.
- Specify the match criteria for incoming packets; packets
that match all of the criteria are subject to the NPTv6 translation.Zones are required for both types of translation.
- On the Original Packet tab, for Source Zone, leave Any or Add the source zone to which the policy applies.
- Enter the Destination Zone to which the policy applies.
- (Optional) Select a Destination Interface.
- (Optional) Select a Service to restrict what type of packets are translated.
- If you
are doing source translation, enter a Source Address or
select Any. The address could be an address object.
The following constraints apply to Source Address and Destination
- Prefixes of Source Address and Destination Address for the Original Packet and Translated Packet must be in the format xxxx:xxxx::/yy, although leading zeros in the prefix can be dropped.
- The IPv6 address cannot have an interface identifier (host) portion defined.
- The range of supported prefix lengths is /32 to /64.
- The Source Address and Destination Address cannot both be set to Any.
- If you are doing source translation, you can optionally enter a Destination Address. If you are doing destination translation, the Destination Address is required. The destination address (an address object is allowed) must be a netmask, not just an IPv6 address and not a range. The prefix length must be a value from /32 to /64, inclusive. For example, 2001:db8::/32.
- Specify the translated packet.
- On the Translated Packet tab, if you want to do source translation, in the Source Address Translation section, for Translation Type, select Static IP. If you do not want to do source translation, select None.
- If you chose Static IP, the Translated
Address field appears. Enter the translated IPv6 prefix
or address object. See the constraints listed in the prior step.It is a best practice to configure your Translated Address to be the prefix of the untrust interface address of your firewall. For example, if your untrust interface has the address 2001:1a:1b:1::99/64, make your Translated Address 2001:1a:1b:1::0/64.
- (Optional) Select Bi-directional if
you want the firewall to create a corresponding NPTv6 translation
in the opposite direction of the translation you configure.If you enable Bi-directional translation, it is very important to make sure you have Security policy rules in place to control the traffic in both directions. Without such policy rules, Bi-directional translation allows packets to be automatically translated in both directions, which you might not want.
- If you want to do destination translation, select Destination Address Translation. In the Translated Address field, choose an address object from the drop-down or enter your internal destination address.
- Click OK.
- Configure NDP
Proxy.When you configure the firewall to act as an NDP Proxy for addresses, it allows the firewall to send Neighbor Discovery (ND) advertisements and respond to ND solicitations from peers that are asking for MAC addresses of IPv6 prefixes assigned to devices behind the firewall.
- Select NetworkInterfacesEthernet and select an interface.
- On the AdvancedNDP Proxy tab, select Enable NDP Proxy and click Add.
- Enter the IP Address(es) for
which NDP Proxy is enabled. It can be an address, a range of addresses,
or a prefix and prefix length. The order of IP addresses does not
matter. These addresses are ideally the same as the Translated Addresses
that you configured in an NPTv6 policy.If the address is a subnet, the NDP Proxy will respond to all addresses in the subnet, so you should list the neighbors in that subnet with Negate selected, as described in the next step.
- (Optional) Enter one or more addresses for which you do not want NDP Proxy enabled, and select Negate. For example, from an IP address range or prefix range configured in the prior step, you could negate a smaller subset of addresses. It is recommended that you negate the addresses of the neighbors of the firewall.
- Commit the configuration.Click OK and Commit.
How NPTv6 Works
How NPTv6 Works When you configure a policy for NPTv6, the Palo Alto Networks firewall performs a static, one-to-one IPv6 translation in both directions. The ...
NAT Translated Packet Tab
NAT Translated Packet Tab Policy > NAT > Translated Packet Select the Translated Packet tab to determine, for Source Address Translation, the type of translation ...
NDP Proxy Neighbor Discovery Protocol (NDP) for IPv6 performs functions similar to those provided by Address Resolution Protocol (ARP) for IPv4. RFC 4861 defines Neighbor ...
The NPTv6 Translation in NPTv6 Example
The NPTv6 Translation in NPTv6 Example In this example, the Original Packet is configured with a Source Address of FDD4:7A3E::0 and a Destination of Any ...
Bi-Directional Translation When you Create an NPTv6 Policy , the Bi-directional option in the Translated Packet tab provides a convenient way for you to have ...
Configure NAT64 for IPv4-Initiated Communication with Port ...
Configure NAT64 for IPv4-Initiated Communication with Port Translation This task builds on the task to Configure NAT64 for IPv4-Initiated Communication , but the organization controlling ...
NPTv6 and NDP Proxy Example
NPTv6 and NDP Proxy Example The following figure illustrates how NPTv6 and NDP Proxy function together. The ND Cache in NPTv6 Example The NDP Proxy ...
Configure NAT64 for IPv4-Initiated Communication
Configure NAT64 for IPv4-Initiated Communication IPv4-initiated communication to an IPv6 server is similar to destination NAT in an IPv4 topology. The destination IPv4 address maps ...
NPTv6 IPv6-to-IPv6 Network Prefix Translation (NPTv6) performs a stateless, static translation of one IPv6 prefix to another IPv6 prefix (port numbers are not changed). There ...