Diversion block currently only supports domain names and IPs. Can it support ports? #3925
Closed
starry1314
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following example prohibits connecting to these ports when using a proxy.
"routing": { "rules": [ { "type": "field", "inboundTag": [ "inbound-10001" ], "outboundTag": "inbound-10001" }, { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "blocked" }, { "type": "field", "protocol": [ "bittorrent" ], "outboundTag": "blocked" }, { "type": "field", "port": "*:14001,*:12001,*:7700,*:10100,*:15030,*:6112,*:12000,*:12070,*:8201,*:7500,*:6040," "outboundTag": "blocked" } ] } }
Beta Was this translation helpful? Give feedback.
All reactions