Page MenuHomeVyOS Platform

Enable Cross-Protocol Translation (relay)
Open, WishlistPublicFEATURE REQUEST

Description

This feature request enables network address translation between IPv4 and IPv6 and vice versa.

Here is a pseudo code of how a typical usage might be:

set nat relay rule 1 source address 0.0.0.0
set nat relay rule 1 source port 123
set nat relay rule 1 translation address 2001:DB8::1
set nat relay rule 1 translation protocol udp
set nat relay rule 1 translation port 6123

Here is a typical implementation using socat

socat UDP4-LISTEN:123,fork,su=nobody UDP6:[2001:DB8::1]:6123

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Related Objects

StatusSubtypeAssignedTask
OpenFEATURE REQUESTNone
OpenFEATURE REQUESTNone

Event Timeline

As a first step, we need a wrapper script to control the start, stop and restart of socat, because socat sometimes exits automatically

Viacheslav triaged this task as Wishlist priority.Jan 20 2024, 11:11 AM