lynxthecat / cake-wg-pbr

Set up CAKE in the context of WireGuard with PBR
5 stars 1 forks source link

Add QoS to cake-wg-pbr #2

Closed Rexadev closed 1 year ago

lynxthecat commented 1 year ago

@Rexadev I looked into this and it is not practical in cake-wg-pbr because WireGuard strips out DSCPs during encapsulation and so we would need to either: restore them using this script - see here for background information; or use a different approach like cake-dual-ifb.

Therefore if you want to use QoS in the context of VPN with PBR I would suggest you use cake-dual-ifb instead. But you should probably consider whether the extra complexity is warranted. The cake algorithm does an excellent job by default without all the hassle associated with tinkering with DSCPs - see here.