1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/v2ray/data/etc/config.yaml
2024-05-13 15:00:38 +08:00

48 lines
914 B
YAML

log:
access: /var/log/v2ray/access.log
error: /var/log/v2ray/error.log
loglevel: warning
inbounds:
- port: 10086
protocol: vmess
settings:
clients:
- id: f97fdba2-603d-4f80-bc77-451662913e1a
level: 1
alterId: 64
# - port: 8838
# protocol: shadowsocks
# settings:
# method: chacha20-ietf-poly1305
# password: fagh6yieSh6T
# network: tcp,udp
outbounds:
- protocol: freedom
settings: {}
- protocol: blackhole
settings: {}
tag: blocked
# - protocol: socks
# settings:
# servers:
# - address: 127.0.0.1
# port: 1080
# tag: proxy
routing:
domainStrategy: AsIs
rules:
- type: field
ip:
- geoip:private
outboundTag: blocked
# - type: field
# domain:
# - geosite:tiktok
# - geosite:instagram
# - geosite:facebook
# - geosite:twitter
# outboundTag: proxy