A-A+

openclash vless reality 配置文件clash.yaml

2025年05月04日 15:31 汪洋大海 暂无评论 共7557字 (阅读4,093 views次)
#Github  :Github.com/Ptechgithub
#YouTube :www.youtube.com/@IR_TECH
#====Reference from clash-meta official document: wiki.metacubex.one=====

# (Part 1) ============================== (clash configuration)
# dns can be modified by yourself
port: 7890
allow-lan: true
mode: rule
log-level: info
unified-delay: true
global-client-fingerprint: chrome
dns:
  enable: true
  listen: :53
  ipv6: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  default-nameserver: 
    - 223.5.5.5
    - 8.8.8.8
  nameserver:
    - https://dns.alidns.com/dns-query
    - https://1.1.1.1/dns-query
  fallback:
    - https://1.0.0.1/dns-query
    - tls://1.1.1.1
  fallback-filter:
    geoip: true
    geoip-code: IR
    ipcidr:
      - 240.0.0.0/4



# (Part 2) ================================ (Configs)
 # Currently 12 protocol node configuration templates, modify according to requirements, if a certain protocol node is not used, there is no need to delete it, just make sure that the node name does not exist in (Part 3)
proxies:
#==============1================(vless-reality-vision node)
- name: vless-reality-vision node               #Customizable name
  type: vless
  server: for.forcedparadise.space                             #The resolved domain name or IP
  port: 101                                 #custom port
  uuid: bbab7aaf-f77c-480c-be00-276c35eeedd3   #custom uuid
  network: tcp
  udp: true
  tls: true
  flow: xtls-rprx-vision
  servername: google.com                   #custom SNI
  reality-opts: 
    public-key: JHvkY6wjxkk6c7CUjVR63QumCQewWrvo2VebduKcqCA    #custom public-key
    short-id: b4c5fc07                        #custom short-id
  client-fingerprint: chrome                  #Custom browser fingerprinting

#==============2================(vless-reality-grpc node)
- name: vless-reality-grpc node                  #Customizable name
  type: vless
  server: for.forcedparadise.space                              #The resolved domain name or IP
  port: 102                                   #custom port
  uuid: 86934f59-255a-47f0-a495-38b4a7dc8a6c    #custom uuid
  network: grpc
  tls: true
  udp: true
  flow:
  client-fingerprint: chrome                    #Custom browser fingerprinting
  servername: google.com                    #custom SNI
  grpc-opts:
    grpc-service-name: "Peyman"                  #" "custom characters
  reality-opts:
    public-key: 7V6PMJXFEHWIl5pIOqqWLWnC5UYr48pn4a43rI98oQQ      #custom public-key
    short-id: c76cc99e                          #custom short-id

#=============3=================(vless-ws-tls node)
- name: vless-ws-tls node                           #Customizable name
  type: vless
  server: 104.31.16.60                          #resolved domain name or preferred domain name IP
  port: 2083                                      #custom port
  uuid: 94ad16a0-1783-4b76-b04b-ac895c862c3d       #custom uuid
  udp: true
  tls: true
  network: ws
  servername: for.forcedparadise.space                    #sni domain name, consistent with the following host
  ws-opts:
    path: "/?ed=2048"                              #" "inner custom path
    headers:
      Host: for.forcedparadise.space                      #host domain name, consistent with the above servername

#=============4=================(vless-ws node)
- name: vless-ws node                               #Customizable name
  type: vless
  server: for.forcedparadise.space                        #resolved domain name or preferred domain name IP
  port: 103                                       #custom port
  uuid: fc05dc52-2be7-4667-92dd-8b536535395c       #custom uuid
  udp: true
  tls: false
  network: ws
  servername: for.forcedparadise.space                   #sni domain name, consistent with the following host
  ws-opts:
    path: "/?ed=2048"                              #" "inner custom path
    headers:
      Host: for.forcedparadise.space                      #host domain name, consistent with the above servername

#===============5===============(vmess-ws-tls node)
- name: vmess-ws-tls node                           #Customizable name
  type: vmess
  server: 104.31.16.60                          #resolved domain name or preferred domain name IP
  port: 8443                                      #custom port
  uuid: 88d8e461-1a60-4707-81bc-18621a250981       #custom uuid
  alterId: 0
  cipher: auto
  udp: true
  tls: true
  network: ws
  servername: for.forcedparadise.space                    #sni domain name, consistent with the following host
  ws-opts:
    path: "/?ed=2048"                              #custom path
    headers:
      Host: for.forcedparadise.space                      #host domain name, consistent with the above servername

#=============6=================(vmess-ws node)
- name: vmess-ws node                               #Customizable name
  type: vmess
  server: for.forcedparadise.space                         #resolved domain name or preferred domain name IP
  port: 104                                       #custom port
  uuid: f3aa6a3f-dfef-3a92-8a0b-a3229625dc23       #custom uuid
  alterId: 0
  cipher: auto
  udp: true
  tls: false
  network: ws
  servername: for.forcedparadise.space                    #sni domain name, consistent with the following host
  ws-opts:
    path: "/?ed=2048"                              #" "inner custom path
    headers:
      Host: for.forcedparadise.space                      #host domain name, consistent with the above servername

#=============7=================(trojan-tcp-tls node)
- name: trojan-tcp-tls node                         #Customizable name
  type: trojan
  server: for.forcedparadise.space                         #resolved domain name
  port: 443                                      #custom port
  password: x9yz70zXEm                              #custom password
  client-fingerprint: chrome
  udp: true
  sni: for.forcedparadise.space                           #sni domain name, consistent with the above server address
  alpn:
    - h2
    - http/1.1
  skip-cert-verify: true
    
#==============8================(hysteria certificate node)
- name: hysteria certificate node                            #Customizable name
  type: hysteria
  server: for.forcedparadise.space                         #resolved domain name
  port: 105                                      #Custom port, change multiple ports to ports: space 1000,2000-3000
  auth-str: 126456                                 #custom password
  alpn:
    - h3
  protocol: udp                                    #Custom protocol: udp/wechat-video/faketcp
  up: 50                                           #Custom upload limit
  down: 200                                        #Custom Download Limits
  sni: for.forcedparadise.space                            #sni domain name, consistent with the above server address  
  skip-cert-verify: false
  fast-open: true
    
#=============9=================(hysteria self signed node)
- name: hysteria self signed node                           #Customizable name
  type: hysteria
  server: 91.107.23.17                                  #Server local IP
  port: 106                                      #Custom port
  auth-str: 12345                                #custom password
  alpn:
    - h3
  protocol: udp                                    #Custom protocol: udp/wechat-video/faketcp
  up: 40                                           #Custom upload limit
  down: 100                                        #Custom Download Limits
  sni: www.bing.com                                
  skip-cert-verify: true
  fast-open: true
    
#==============10================(tuic-V5 node)
- name: tuic-V5 node                              #Customizable name
  server: tuic.forcedparadise.space                        #The resolved domain name or IP
  port: 107                                    #custom port
  type: tuic
  uuid: d0c12467-506f-49b2-8481-93afc89cfe0f       #custom uuid
  password: 12345   #custom password
  alpn: ["h3", "spdy/3.1"]
  disable-sni: true
  reduce-rtt: true
  udp-relay-mode: native
  congestion-controller: bbr

#==============11================(tuic-V5 node IP V6)
- name: tuic-V5 node V6                             #Customizable name
  server: 2a01:4f8:1c1b:c14::1                        #The resolved domain name or IPV6
  port: 108                                    #custom port
  type: tuic
  uuid: d0c22467-516f-42b2-8781-93afc89cfe0f       #custom uuid
  password: 12345   #custom password
  alpn: ["h3", "spdy/3.1"]
  disable-sni: true
  reduce-rtt: true
  udp-relay-mode: native
  congestion-controller: bbr
#===============12===============(warp-wireguard node)  
- name: warp-wireguard node                                   #Customizable name
  type: wireguard         
  server: 162.159.193.10                                     #You can customize the preferred peer IP, which corresponds to the port below
  port: 2408                                                 #You can customize the preferred peer IP, which corresponds to the IP of the server above
  ip: 172.16.0.2
  ipv6: 2606:4700:190:814e:7de3:5ddb:9d3e:9359               #Corresponding to private-key, if you delete this line, it means only IPV4
  public-key: bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
  private-key: gK3C8ijdVlT7sd5fsdf5ssdfgsdfgsdfgobT2U+rgHo=  #Get private-key
  udp: true



#(part 3) ================================ (Proxy Group Configuration)
 #The diversion group can be created and added by itself. The name node name under the proxies parameter can be increased or decreased according to the needs to ensure that the name node name that appears can be found in the proxy agreement of the (Part 2)
proxy-groups:
- name: Load balancing
  type: load-balance
  url: http://www.gstatic.com/generate_204
  interval: 300
  proxies:
    - vless-reality-vision node                                    
    - vless-reality-grpc node
    - vless-ws-tls node
    - vless-ws node
    - vmess-ws-tls node
    - vmess-ws node
    - trojan-tcp-tls node
    - hysteria certificate node
    - hysteria self signed node
    - tuic-V5 node
    - tuic-V5 node V6
    - warp-wireguard node

- name: ♻️Auto choose
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 300
  tolerance: 50
  proxies:
    - vless-reality-vision node                                    
    - vless-reality-grpc node
    - vless-ws-tls node
    - vless-ws node
    - vmess-ws-tls node
    - vmess-ws node
    - trojan-tcp-tls node
    - hysteria certificate node
    - hysteria self signed node
    - tuic-V5 node
    - tuic-V5 node V6
    - warp-wireguard node
    
- name: All proxy
  type: select
  proxies:
    - Load balancing                                            #Customize the name field of the added protocol
    - ♻️Auto choose
    - DIRECT
    - vless-reality-vision node                                    
    - vless-reality-grpc node
    - vless-ws-tls node
    - vless-ws node
    - vmess-ws-tls node
    - vmess-ws node
    - trojan-tcp-tls node
    - hysteria certificate node
    - hysteria self signed node
    - tuic-V5 node
    - tuic-V5 node V6
    - warp-wireguard node



#(Part 4) ================================ (Rules)
# Proxy rules can be added by themselves
rules:
  - GEOIP,IR,DIRECT
  - MATCH,All proxy

布施恩德可便相知重

微信扫一扫打赏

支付宝扫一扫打赏

×

给我留言