Page MenuHomeVyOS Platform

Expose Jool's stateful NAT64 feature (BIB)
Open, NormalPublic

Description

Hi everyone!

Jool offers a stateful (destination) NAT64 variant (called BIB), which appears to not be exposed via VyOS config yet. This would allow to do IPv4 -> IPv6 translation similar to classical NAPT44. Following their docs, all it takes to create an entry is a single command specifying the IPv4 address and port, IPv6 address and port and the protocol. To keep it similar to the existing CLI, I'd propose something along this:

set nat64 destination rule 1 protocol [tcp|udp|icmp]
set nat64 destination rule 1 source address 192.0.2.1
set nat64 destination rule 1 source port 80
set nat64 destination rule 1 translation address 2001:db8:12:34::1
set nat64 destination rule 1 translation port 80
...

Best regards,
Michael

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

MPStudyly triaged this task as Normal priority.
MPStudyly created this object in space S1 VyOS Public.
MPStudyly updated the task description. (Show Details)