[ clash ] 新增clash-sub

This commit is contained in:
zeaslity
2024-03-21 11:39:46 +08:00
parent 02022603ed
commit 7883ddeba5
11 changed files with 395 additions and 739 deletions

View File

@@ -0,0 +1,8 @@
vmess://eyJ2IjoiMiIsInBzIjoidXMtY2VudGUtZnJlZSIsImFkZCI6Im5vcnRoZmxhbmsuMTA3NDIxLnh5eiIsInBvcnQiOjQ0MywiaWQiOiJkZTA0YWRkOS01YzY4LThiYWItOTUwYy0wOGNkNTMyMGRmMTgiLCJhaWQiOjAsInNjeSI6ImF1dG8iLCJuZXQiOiJ3cyIsInBhdGgiOiIvdm1lc3MiLCJ0bHMiOiJ0bHMifQ==
trojan://V2ryStr0ngP0ss@140.238.14.103:443?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Seoul-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19997?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Osaka-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19999?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Tokyo-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19998?type=tcp&sni=xx.s4.cc.hh.107421.xyz&allowInsecure=0&host=xx.s4.cc.hh.107421.xyzh2,http/1.1#Pheonix-Trojan
trojan://V2ryStr0ngP0ss@146.56.147.12:30000?type=tcp&sni=xx.s0.yy.ac.107421.xyz&allowInsecure=0&host=xx.s0.yy.ac.107421.xyzh2,http/1.1#Seoul-arm64-01-Trojan
trojan://V2ryStr0ngP0ss@43.154.83.213:443?type=tcp&sni=xx.tc.hk.go.107421.xyz&allowInsecure=0h2,http/1.1#Tencent-Hkong-Trojan
vless://fc903f5d-a007-482b-928c-570da9a851f9@43.154.83.213:29999?security=reality&flow=xtls-rprx-vision&type=tcp&sni=xx.tc.hk.go.107421.xyz&fp=chrome&pbk=IBKk7cbbpnarU9sxJx84tXztytBFH2oCNfy7FlLVjDg&sid=ad570cbfab&encryption=none&headerType=none#Tencent-HK-11.24

View File

@@ -1,207 +0,0 @@
{
"log": {
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"protocol": "trojan",
"listen": "0.0.0.0",
"port": 443,
"settings": {
"clients": [
{
"password": "V2ryStr0ngP0ss",
"email": "love@v2fly.org"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
}
]
}
},
"tag": "Seoul-amd64-04"
},
{
"protocol": "trojan",
"listen": "0.0.0.0",
"port": 19999,
"settings": {
"clients": [
{
"password": "V2ryStr0ngP0ss",
"email": "love@v2fly.org"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
}
]
}
},
"tag": "Seoul-amd64-04->Tokyo-amd64-02"
},
{
"protocol": "trojan",
"listen": "0.0.0.0",
"port": 19998,
"settings": {
"clients": [
{
"password": "V2ryStr0ngP0ss",
"email": "love@v2fly.org"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
}
]
}
},
"tag": "Seoul-amd64-04->Phoenix-amd64-02"
},
{
"protocol": "trojan",
"listen": "0.0.0.0",
"port": 19997,
"settings": {
"clients": [
{
"password": "V2ryStr0ngP0ss",
"email": "love@v2fly.org"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
}
]
}
},
"tag": "Seoul-amd64-04->London-amd64-01"
}
],
"outbounds": [
{
"protocol": "freedom"
},
{
"protocol": "freedom",
"tag": "Seoul-amd64-04"
},
{
"protocol": "blackhole",
"tag": "block"
},
{
"tag": "Seoul-amd64-04->Tokyo-amd64-02",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "140.238.52.228",
"port": 1234
}
]
}
},
{
"tag": "Seoul-amd64-04->Phoenix-amd64-02",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "129.146.171.163",
"port": 1234
}
]
}
},
{
"tag": "Seoul-amd64-04->London-amd64-01",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "141.147.99.91",
"port": 1234
}
]
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"inboundTag": [
"Seoul-amd64-04"
],
"outboundTag": "Seoul-amd64-04"
},
{
"type": "field",
"inboundTag": [
"Seoul-amd64-04->Tokyo-amd64-02"
],
"outboundTag": "Seoul-amd64-04->Tokyo-amd64-02"
},
{
"type": "field",
"inboundTag": [
"Seoul-amd64-04->Phoenix-amd64-02"
],
"outboundTag": "Seoul-amd64-04->Phoenix-amd64-02"
},
{
"type": "field",
"inboundTag": [
"Seoul-amd64-04->London-amd64-01"
],
"outboundTag": "Seoul-amd64-04->London-amd64-01"
}
]
}
}

View File

@@ -0,0 +1,93 @@
{
"inbounds": [
{
"tag": "socks",
"port": 22888,
"listen": "0.0.0.0",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
],
"routeOnly": false
},
"settings": {
"auth": "password",
"accounts": [
{
"user": "zeaslity",
"pass": "lovemm.23"
}
],
"udp": true,
"allowTransparent": false
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "trojan",
"settings": {
"servers": [
{
"address": "140.238.14.103",
"method": "chacha20",
"ota": false,
"password": "V2ryStr0ngP0ss",
"port": 443,
"level": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"serverName": "xx.s4.cc.hh.107421.xyz",
"show": false
}
},
"mux": {
"enabled": false,
"concurrency": -1
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"dns": {
"servers": [
"1.1.1.1",
"8.8.8.8"
]
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "mph",
"rules": [
{
"type": "field",
"outboundTag": "direct",
"inboundTag": [
"proxy"
]
}
]
}
}

View File

@@ -1,8 +0,0 @@
vmess://ew0KICAidiI6ICIyIiwNCiAgInBzIjogInVzLWNlbnRlLWZyZWUiLA0KICAiYWRkIjogIm5vcnRoZmxhbmsuMTA3NDIxLnh5eiIsDQogICJwb3J0IjogIjQ0MyIsDQogICJpZCI6ICJkZTA0YWRkOS01YzY4LThiYWItOTUwYy0wOGNkNTMyMGRmMTgiLA0KICAiYWlkIjogIjAiLA0KICAic2N5IjogImF1dG8iLA0KICAibmV0IjogIndzIiwNCiAgInR5cGUiOiAibm9uZSIsDQogICJob3N0IjogIiIsDQogICJwYXRoIjogIi92bWVzcyIsDQogICJ0bHMiOiAidGxzIiwNCiAgInNuaSI6ICIiLA0KICAiYWxwbiI6ICIiDQp9
trojan://V2ryStr0ngP0ss@140.238.14.103:443?security=tls&sni=xx.s4.cc.hh.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=chrome&type=tcp&headerType=none&host=xx.s4.cc.hh.107421.xyz#Seoul-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19997?security=tls&sni=xx.s4.cc.hh.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=chrome&type=tcp&headerType=none&host=xx.s4.cc.hh.107421.xyz#Osaka-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19999?security=tls&sni=xx.s4.cc.hh.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=chrome&type=tcp&headerType=none&host=xx.s4.cc.hh.107421.xyz#Tokyo-Trojan
trojan://V2ryStr0ngP0ss@140.238.14.103:19998?security=tls&sni=xx.s4.cc.hh.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=chrome&type=tcp&headerType=none&host=xx.s4.cc.hh.107421.xyz#Pheonix-Trojan
trojan://V2ryStr0ngP0ss@146.56.147.12:30000?security=tls&sni=xx.s0.yy.ac.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=firefox&type=tcp&headerType=none&host=xx.s0.yy.ac.107421.xyz#Seoul-arm64-01-Trojan
trojan://V2ryStr0ngP0ss@43.154.83.213:443?security=tls&sni=xx.tc.hk.go.107421.xyz&alpn=h2%2Chttp%2F1.1&fp=firefox&type=tcp&headerType=none#Tencent-Hkong-Trojan
vless://fc903f5d-a007-482b-928c-570da9a851f9@43.154.83.213:29999?encryption=none&flow=xtls-rprx-vision&security=reality&sni=xx.tc.hk.go.107421.xyz&fp=chrome&pbk=IBKk7cbbpnarU9sxJx84tXztytBFH2oCNfy7FlLVjDg&sid=ad570cbfab&type=tcp&headerType=none#Tencent-HK-11.24

View File

@@ -0,0 +1,32 @@
#!/bin/bash
cat >>/etc/sysctl.d/import_kernel.conf <<EOF
# 开启bbr
net.ipv4.tcp_fastopen = 3
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
#增加缓冲区大小可以提高吞吐量
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
#缩短超时时间可以提高响应速度。
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
# 避免IP碎片化可以提高性能。
net.ipv4.ipfrag_low_thresh = 65536
net.ipv4.ipfrag_high_thresh = 131072
# TCP SACK选择确认在路由器环境中通常不必要。
net.ipv4.tcp_sack = 0
# 快速转发可以提高转发性能。
net.ipv4.ip_forward_fast_path = 1
# 禁用日志记录可以节省资源。
net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.default.log_martians = 0
net.ipv4.route.flush=1
# 缩短ARP超时时间可以提高ARP响应速度。
net.ipv4.neigh.default.gc_stale_time = 120
# 增加哈希表大小可以提高路由查找性能。
net.ipv4.neigh.default.hash_buckets = 1024
EOF