Skip to content

关于inbound监听多端口情况下路由功能的疑问 #4984

Answered by RPRX
jjlizz asked this question in Q&A
Discussion options

You must be logged in to vote

匹配 inbound tag 的基础上匹配目标 ip/port 就行了,除非它俩也分别相同且你就是要走不同的 outbound

所以路由代码应当加上对 localPort、localIP 的匹配,还有那个 source 应当改名 sourceIP @Fangliding @patterniha

于是路由中最没用的两项是:sourcePort 和 localIP

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@patterniha
Comment options

@patterniha
Comment options

Answer selected by RPRX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants