HomeVyOS Platform

T5165: Implement policy local-route source and destination port

Description

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

Details

Provenance
ViacheslavAuthored on Oct 6 2023, 9:18 AM
Parents
rVYOSONEX3e4ea27ac21b: Merge pull request #2326 from Apachez-/T5436
Branches
Loading...
Tags
Loading...