diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-03 11:34:10 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-03 11:34:10 +0000 |
commit | 5cf503955377d138c626b2c8157eab71b1fa8fad (patch) | |
tree | 5060875c3b3f6474e13e25f7920aed97db0d5416 /interface-definitions/include/nat-interface.xml.i | |
parent | 4599a9e35b8944a56e82d990957da27444b7814c (diff) | |
download | vyos-1x-5cf503955377d138c626b2c8157eab71b1fa8fad.tar.gz vyos-1x-5cf503955377d138c626b2c8157eab71b1fa8fad.zip |
T5333: Set prefix UD for PBR generated user-defined chain names
We cannot use some specific names like POSTROUTING/PREROUTING
as for PBR they overlaps with VyOS defined chains
Chains aftoconfigured by VyOS itself:
chain VYOS_PBR_PREROUTING
chain VYOS_PBR_POSTROUTING
If we try to use chain name "POSTROUTING" it generates 2 chains
with the same name "chain VYOS_PBR_POSTROUTING" one is
autoconfigured and the second defined by user
set policy route POSTROUTING rule 100
Add the user-defined (UD) prefix to separate user defined names
That allows to use any user-defined names
Diffstat (limited to 'interface-definitions/include/nat-interface.xml.i')
0 files changed, 0 insertions, 0 deletions