direct client bittorrent and udp to freedom

This commit is contained in:
Evgeny Nerush 2024-01-28 13:09:50 +03:00
parent fde01d427b
commit eb57f3d082
2 changed files with 23 additions and 6 deletions

View file

@ -154,23 +154,38 @@
],
"outboundTag": "api"
},
// guide udp traffic to `direct` outbound
{
"type": "field",
"network": "udp",
"outboundTag": "direct"
},
// block localhost connections through xray
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
},
// guide bittorent traffic to `direct` outbound
{
"type": "field",
"protocol": [ "bittorrent" ],
"outboundTag": "block"
"outboundTag": "direct"
},
// block traffic to popular ports of torrent trackers
// traffic to popular ports of torrent trackers
// and to popular ports of torrent clients
{
"type": "field",
"port": "6969,6881-6889",
"outboundTag": "block"
"outboundTag": "direct"
},
// block traffic from popular ports of torrent clients
// traffic from popular ports of torrent clients
{
"type": "field",
"sourcePort": "6881-6889",
"outboundTag": "block"
"outboundTag": "direct"
},
// guide domestic sites traffic to `direct` outbound
{

View file

@ -42,19 +42,21 @@
],
"outboundTag": "api"
},
// guide udp traffic to `block` outbound
{
"type": "field",
"network": "udp",
"outboundTag": "block"
},
// block localhost connections through xray
{
"type": "field",
"ip": [
// localhost connections
"geoip:private"
],
"outboundTag": "block"
},
// guide bittorent traffic to `block` outbound
{
"type": "field",
"protocol": [ "bittorrent" ],