Replies: 1 comment
-
iptables转发的是第四层TCP/UDP数据包,因此它包含了IP地址。
iptables会将查询qq.com的 dns udp 包发往1234,dns udp = src ip/port, dst ip/port, domain name. 进入dokodemo port可以是域名和IP,这取决于你的需求,所以geosite策略是有效的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In routing rules, people always have something like:
But, I am very confused how it works when I use Dokodemo-door protocol in router?
Normally I will use
iptables
command to forward all traffics to Dokodemo-door port. But iptables only cares about IPs only. When the traffics forward to Dokodemo-door port, all traffics are IPs only from my point of view.geosite:cn
domain will not take any effects. Am I wrong? How can I make domain routing rules make sense and work in a router setup?Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions