addMask() js code resets netmask size to 128/32
if you are trying to use max netmask shorter that 128 for IPv6 or shorter that 32 for IPv4, js code resets netmask size to 128/32, this not allow to use /96 max size for dns64-prefix, or, you can see this issue on 1:1 NAT page - try to enter any IPv4 address to the destination network field, and you can that it allow you to select /32 range (but only /31 is allowed in code) IpAddress.class.php fixed
pages with this issue:
- netmask /31 can be reset to /32
#6 Updated by Jim Pingle 12 months ago
- Status changed from Resolved to New
Viktor Gurov wrote:
This change has broken IPv6 port forward and NAT 1:1 - now it is not possible to enter netmask >31 on these pages
Is IPv6 fully supported on these pages?
Never heard anyone try this
Yes, it does work for certain use cases. Though we don't advertise this fact, since we want to discourage using NAT+IPv6 as much as possible.
We shouldn't break it if we can avoid doing so.