diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-06 09:18:35 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-06 09:18:35 +0000 |
commit | ff43733074675b94ce4ead83fe63870b6cf953c5 (patch) | |
tree | 4b328a99209fec87974def65aabb8c39574b9754 /interface-definitions/include | |
parent | 3e4ea27ac21b163e00c03e21bf4bd8f9d19d99b6 (diff) | |
download | vyos-1x-ff43733074675b94ce4ead83fe63870b6cf953c5.tar.gz vyos-1x-ff43733074675b94ce4ead83fe63870b6cf953c5.zip |
T5165: Implement policy local-route source and destination port
Add `policy local-route` source and destination port
set policy local-route rule 23 destination port '222'
set policy local-route rule 23 protocol 'tcp'
set policy local-route rule 23 set table '123'
set policy local-route rule 23 source port '8888'
% ip rule show prio 23
23: from all ipproto tcp sport 8888 dport 222 lookup 123
Diffstat (limited to 'interface-definitions/include')
0 files changed, 0 insertions, 0 deletions