diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-06 09:18:35 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-11 06:40:11 +0000 |
commit | 575f5ab52bf377c678fce72b8fc24ed0feb0c330 (patch) | |
tree | 93aea4cc11d64674038408739332715c0abbf29f /smoketest/scripts/cli/test_nat.py | |
parent | 7720ee247c03eeeab895da27804996571ffb476b (diff) | |
download | vyos-1x-575f5ab52bf377c678fce72b8fc24ed0feb0c330.tar.gz vyos-1x-575f5ab52bf377c678fce72b8fc24ed0feb0c330.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
(cherry picked from commit ff43733074675b94ce4ead83fe63870b6cf953c5)
Diffstat (limited to 'smoketest/scripts/cli/test_nat.py')
0 files changed, 0 insertions, 0 deletions