跑出来节点太多了, surge导入很卡, 怎么优选节点?

让自动获取免费机场订阅更自动继续讨论:

4 Likes

常规话题搞七捻三

1 Like

这多少年前的老项目,已经不支持Apple Silicon了吧

2 Likes

sub-store里有这样的功能,再配合smart类型自动筛选。
还有你都用色鸡了,还使用网上爬取的节点?群友分享的Snell也足够了吧

2 Likes

那么问题来了, 哪里有群呢

这个项目跑出来的只适合用来当代理池节点,没必要用来当工作节点,不太稳定了
我建议买一家稳定流量收费的梯子,再搭配cloudflare worker搭建的trojan用来看流量大的使用,基本上一年花费才30块不到。

2 Likes

我去了解一下

既然都买surge了 还是建议自己搭一个节点自己用

购买的用户可以去tg搜索,(名字+ PRO)的群,黑色的那个,当然不是正版就别去了,分享的也都是snell节点,其他软件也用不了。

不是正版

过滤一下

可以本地再过一道

说老实话,真没想过Surge还能搞一个付费升级。买了4就再也不想升了。

这个方案我很心动,大佬有没有实操教程

已经实操了,trojan用的是别人优选的,看youtube很丝滑,然后流量机场目前非常稳,我就不推荐了,因为用的人多了不太行,你如果有耐心可以去tg找。我待会儿简单写一下我的surge配置

1 Like

假设你已经搭建好了cloudflare trojan ,如何使用别人优选的作为订阅,目前已经有整理了第三方大佬们提供维护的优选订阅生成器

自定义订阅详细使用方法:
https://sub.xf.free.hr/auto?host=[你的Vless域名]&uuid=[你的UUID]&path=[你的ws路径]

自定义订阅详细使用方法:
https://moistr.freenods.sbs/free?host=[你的Vless域名]&uuid=[你的UUID]&path=[你的ws路径]

自定义订阅详细使用方法:
https://sub.kaiche.tk/sub?host=[你的Vless域名]&uuid=[你的UUID]&path=[你的ws路径]


自定义订阅详细使用方法:
https://add.king361.cf/?host=[你的Vless域名]&uuid=[你的UUID]&path=[你的ws路径]
path:您的服务的自定义路径。(不需要/)

但是上面都是支持vless的,如何让他们支持trojan的呢,其实我们可以再弄一个cloudflare worker,将vless全局替换成trojan就完事了
或者直接 使用
https://Trojan.fxxk.dedyn.io/sub?host=[你的Worker域名]&pw=[你的password]

addEventListener('fetch', (event) => {
  event.respondWith(handleRequest(event.request));
});

async function handleRequest(request) {
  const url = new URL(request.url);
  const host = url.searchParams.get('host') || '';
  const uuid = url.searchParams.get('uuid') || '';
  const path = url.searchParams.get('path') || '/?ed=2048';
  const externalUrl = url.searchParams.get('subUrl') || 'https://moistr.freenods.sbs/sub';

  const fullUrl = `${externalUrl}?host=${host}&uuid=${uuid}&path=${path}`;
  const response = await fetch(fullUrl);
  const text = await response.text();

  // Base64 解码
  const decodedText = atob(text);

  // 替换 "vless" 为 "trojan"
  const replacedText = decodedText.replace(/vless/g, 'trojan');

  // Base64 编码
  const encodedText = btoa(replacedText);

  return new Response(encodedText, {
    status: 200,
    headers: {
      'Content-Type': 'text/plain',
    },
  });
}

然后用你这个worker域名?host=[你的trojan域名]&uuid=[你的trojan密码]&subUrl=https://moistr.freenods.sbs/sub
将上面这个链接订阅 放在substore 取名 cf_trojan
然后再买一个稳定流量的订阅,将这个机场订阅 放在substore 取名 test_local

两个订阅结合者用就ok,让youtube这种流量大的走cf_trojan就行

我的surge配置, 供参考,之前用的stash总是有一些小毛病,还是surge舒服

[General]
ipv6 = false
test-timeout = 4
loglevel = notify
http-api-web-dashboard = true
# 跳过代理
skip-proxy = localhost, *.local, injections.adguard.org, local.adguard.org, captive.apple.com, guzzoni.apple.com, 0.0.0.0/8, 10.0.0.0/8, 17.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.168.0.0/16, 192.88.99.0/24, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32
exclude-simple-hostnames = true
# --- DNS ---
# The IP addresses of upstream DNS servers
read-etc-hosts = true
use-local-host-item-for-proxy = true
encrypted-dns-follow-outbound-mode = false
include-all-networks = false
# --- ROUTING ---
include-local-networks = false
show-error-page-for-reject = true
# ---远程控制器---
http-api = [email protected]:6171
http-api-tls = false
# --- ADVANCED ---
always-real-ip = link-ip.nextdns.io, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.logon.battlenet.com.cn, *.logon.battle.net, stun.l.google.com
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
force-http-engine-hosts = *.ott.cibntv.net, 123.59.31.1,119.18.193.135, 122.14.246.33, 175.102.178.52, 116.253.24.*, 175.6.26.*, 220.169.153.*
use-default-policy-if-wifi-not-primary = false
udp-policy-not-supported-behaviour = REJECT
ipv6-vif = auto
dns-server = 223.5.5.5, 223.6.6.6, system

[Proxy Group]
🚀 节点选择 = select, ♻️ 自动选择, 🇭🇰 香港节点, 🇭🇹 台湾节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🛠️ 手动切换, 🇭🇰 cf_trojan, DIRECT
🛠️ 手动切换 = select, policy-path=https://sub.store/download/test_local?target=Surge
♻️ 自动选择 = url-test, policy-path=https://sub.store/download/test_local?target=Surge, policy-regex-filter=^((?!套餐|到期|余额|剩余|流量|官网).)*$, url=http://www.gstatic.com/generate_204, interval=1800, tolerance=50
📺 youtube = select, 🚀 节点选择, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🇭🇰 cf_trojan, 🛠️ 手动切换, DIRECT
🎵 spotify = select, 🇭🇹 台湾节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🛠️ 手动切换, DIRECT
Ⓜ️ micosoft = select, 🚀 节点选择, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🛠️ 手动切换, DIRECT
🔍google = select, 🚀 节点选择, ♻️ 自动选择, 🇭🇹 台湾节点, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🛠️ 手动切换, DIRECT
🤖 OpenAI = select, 🚀 节点选择, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇺🇲 美国节点, 🛠️ 手动切换, DIRECT
🐟 漏网之鱼 = select, 🚀 节点选择, ♻️ 自动选择, DIRECT
🇭🇰 香港节点 = url-test, policy-path=https://sub.store/download/test_local?target=Surge, policy-regex-filter=港|🇭🇰|HK|(?i)Hong, url=http://www.gstatic.com/generate_204, interval=900, tolerance=150
🇭🇹 台湾节点 = url-test, policy-path=https://sub.store/download/test_local?target=Surge, policy-regex-filter=台|🇨🇳|台湾|TW|Tai, url=http://www.gstatic.com/generate_204, interval=900, tolerance=150
🇭🇰 cf_trojan = url-test, policy-path=https://sub.store/download/cf_trojan?target=Surge, url=http://www.gstatic.com/generate_204, interval=300, policy-regex-filter=^((?!套餐|到期|余额|剩余|流量|官网).)*$, tolerance=150tolerance=150, update-interval=10800
🇺🇲 美国节点 = url-test, policy-path=https://sub.store/download/test_local?target=Surge, policy-regex-filter=(🇺🇸)|(美)|(States)|(US), url=http://www.gstatic.com/generate_204, interval=900, tolerance=150
🇯🇵 日本节点 = url-test, policy-path=https://sub.store/download/test_local?target=Surge, policy-regex-filter=(🇯🇵)|(日)|(Japan)|(JP), url=http://www.gstatic.com/generate_204, interval=900, tolerance=150

[Rule]
PROCESS-NAME,Telegram,🚀 节点选择
PROCESS-NAME,iTerm2,🚀 节点选择
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Telegram/Telegram.list,🚀 节点选择
# OpenAI
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Claude/Claude.list,🤖 OpenAI
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/OpenAI/OpenAI.list,🤖 OpenAI
# YouTube
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/YouTube/YouTube.list,📺 youtube
# Microsoft
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ micosoft
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Spotify/Spotify.list,🎵 spotify
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Google/Google.list,🔍google
# Apple LBS
DOMAIN-SUFFIX,iphone-ld.apple.com,DIRECT
DOMAIN-SUFFIX,lcdn-locator.apple.com,DIRECT
DOMAIN-SUFFIX,lcdn-registration.apple.com,DIRECT
DOMAIN-SUFFIX,push.apple.com,DIRECT
# Apple OCSP
PROCESS-NAME,trustd,🚀 节点选择
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/gfw.txt,🚀 节点选择
GEOIP,CN,DIRECT
FINAL,🐟 漏网之鱼

[Host]
*.taobao.com = server:223.5.5.5
*.tmall.com = server:223.5.5.5
*.alipay.com = server:223.5.5.5
*.alicdn.com = server:223.5.5.5
*.aliyun.com = server:223.5.5.5
*.jd.com = server:119.28.28.28
*.qq.com = server:119.28.28.28
*.tencent.com = server:119.28.28.28
*.weixin.com = server:119.28.28.28
*.bilibili.com = server:119.29.29.29
hdslb.com = server:119.29.29.29
*.163.com = server:119.29.29.29
*.126.com = server:119.29.29.29
*.126.net = server:119.29.29.29
*.127.net = server:119.29.29.29
*.netease.com = server:119.29.29.29
*.mi.com = server:119.29.29.29
*.xiaomi.com = server:119.29.29.29
*testflight.apple.com = server:8.8.4.4
# > Firebase Cloud Messaging
mtalk.google.com = 108.177.125.188
# > Google Dl
dl.google.com = server:119.29.29.29
dl.l.google.com = server:119.29.29.29
update.googleapis.com = server:119.29.29.29
# > Router Admin Panel
amplifi.lan = server:syslib // Ubiquiti Amplifi Router
router.synology.com = server:syslib // Synology Router
sila.razer.com = server:syslib // Razer Sila Router
router.asus.com = server:syslib // Asus Router
routerlogin.net = server:syslib // Netgear Router
orbilogin.com = server:syslib // Netgear Obri Router
www.LinksysSmartWiFi.com = server:syslib // Linksys Router
LinksysSmartWiFi.com = server:syslib // Linksys Router
myrouter.local = server:syslib // Linksys Router
www.miwifi.com = server:syslib // Xiaomi Mi WiFi Router
miwifi.com = server:syslib // Xiaomi Mi WiFi Router
mediarouter.home = server:syslib // Huawei Router
tplogin.cn = server:syslib // TP-Link Router
tplinklogin.net = server:syslib // TP-Link Router
melogin.cn = server:syslib // MERCURY Router
falogin.cn = server:syslib // FAST Router

[URL Rewrite]
# > Redirect Google Search Service
^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
# > Redirect Google Maps Service
^https?:\/\/(ditu|maps).google\.cn https://maps.google.com 302
# > Redirect HTTP to HTTPS
^https?:\/\/(www.)?taobao\.com\/ https://taobao.com/ 302
^https?:\/\/(www.)?jd\.com\/ https://www.jd.com/ 302
^https?:\/\/(www.)?mi\.com\/ https://www.mi.com/ 302
^https?:\/\/you\.163\.com\/ https://you.163.com/ 302
^https?:\/\/(www.)?suning\.com\/ https://suning.com/ 302
^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302
# > AbeamTV header
^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject
# > CUSTOM URL header

[Header Rewrite]
^https?:\/\/.*\.zhihu\.com\/(question|topic) header-replace User-Agent "osee2unifiedRelease/4432 osee2unifiedReleaseVersion/7.8.0 Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mo    bile/15E148"

[MITM]
skip-server-cert-verify = true
tcp-connection = true
h2 = true
hostname = www.google.cn, api.abema.io, *.zhihu.com, -CUSTOMMitM, sub.store

[Script]
# > Flush DNS, show the DNS delay and server.

[Panel]
flushDNS = script-name=flushDNS,update-interval=-1
3 Likes

谢谢佬

这个帖子说回封域名咋整啊?

不知道,我目前用的挺好的,很稳定,这个确实在滥用cf的服务,但是别人vless都搭建那么久了,也没有听说过封域名的说法。反正我只能讲目前我用的没问题

cf家的vless用了快一年了,没遇到封域名问题,每个月会消耗1.5T流量左右。