Page MenuHomeVyOS Platform

Provide a CLI solution for Ingress Shaping when there is SNAT
Open, LowPublicFEATURE REQUEST

Description

When both SNAT and an outbound traffic-policy have been configured, translations will happen before traffic policy comes into action. So, if a traffic-policy has been configured to classify traffic according to addresses, that will not work, as traffic-policy will see translated addresses. So very likely all the traffic will end up in its default class.

Fortunately that can be solved by VyOS CLI, as explained here.

Without SNAT, VyOS CLI also allows you to configure "ingress shaping" through an IFB. Here is the explanation.

The missing part is a CLI solution for an inbound traffic-policy when there is SNAT. I have not found the way to configure it through CLI.

As it is perfectly possible to successfully have Ingress Shaping with SNAT as explained here, it would be nice to fill that CLI gap in order to have a complete QoS solution for the most common scenarios.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.x ; 1.3 ; qos ; tc
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

Unknown Object (User) created this task.Oct 8 2020, 9:25 PM
Unknown Object (User) renamed this task from Provide a CLI solution for Ingress Shaping when there is SNAT. to Provide a CLI solution for Ingress Shaping when there is SNAT.Oct 8 2020, 9:53 PM
Unknown Object (User) updated the task description. (Show Details)
Unknown Object (User) updated the task description. (Show Details)Oct 8 2020, 10:06 PM
Unknown Object (User) added a project: VyOS 1.3 Equuleus.
Unknown Object (User) changed Version from - to 1.2.x ; 1.3 ; qos ; tc.
Unknown Object (User) updated the task description. (Show Details)Oct 13 2020, 10:45 AM
Unknown Object (User) updated the task description. (Show Details)Oct 13 2020, 10:48 AM
Unknown Object (User) updated the task description. (Show Details)Oct 13 2020, 10:51 AM
Unknown Object (User) added a comment.Oct 26 2020, 9:35 AM

Once this task is solved, QoS documentation should include a subsection about NAT, explaining the procedure for both outbound and inbound traffic.

Unknown Object (User) updated the task description. (Show Details)Nov 11 2020, 7:39 AM
dmbaturin added a project: VyOS 1.5 Circinus.
dmbaturin set Issue type to Unspecified (please specify).