mirror of
https://github.com/EvgenyNerush/easy-xray.git
synced 2024-11-21 16:25:23 +03:00
direct client bittorrent and udp to freedom
This commit is contained in:
parent
fde01d427b
commit
eb57f3d082
2 changed files with 23 additions and 6 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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" ],
|
||||
|
|
Loading…
Reference in a new issue