Page MenuHomeVyOS Platform

Allow many to many NAT rules with networks of different size
Closed, ResolvedPublicFEATURE REQUEST

Description

We only allow static translation rules for networks of the same size, and trying to use networks of different size causes a commit error.
I'm not sure if there was a real reason for it. Modern iptables versions are fine with such rules, and it has valid use cases.

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

dmbaturin claimed this task.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).

so, how can i do NAT from 10.0.0.0/8 to /24 with public ip's ?

dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
dmbaturin set Issue type to Unspecified (please specify).

in vyos 1.2.x is this NAT mode working fine. We uset it at six routers with 12Gbps of real traffic without crash and reboot over one a half year. Please keep this option in future versions.