向各位大神求教,上12月下旬开始Surge Mac就一直不稳定,不清楚是否是新版本的问题,还是设置问题,还是电脑配置问题。可以排除的是:不是家里网络的问题,因为不由Surge Mac接管的设备上网都没有任何问题。
系统环境:Mac Mini M2,Surge Mac 版本是 5.4.3
系统设置:把Mac 系统里关于自动休眠、自动锁屏等等相关的设置都已经设为 Never;
Surge Mac设置:Enhanced Mode,但不是DHCP Server,配置按照论坛里的最小配置,并且开启全局Direct Outbound;配置如下:
[General]
loglevel = notify
dns-server = 223.5.5.5, 223.6.6.6, 114.114.114.114
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com
external-controller-access = China@127.0.0.1:8233
allow-wifi-access = true
enhanced-mode-by-rule = false
exclude-simple-hostnames = true
show-error-page-for-reject = true
ipv6 = false
replica = false
http-listen = 0.0.0.0
socks5-listen = 0.0.0.0
wifi-access-http-port = 6152
wifi-access-socks5-port = 6153
internet-test-url = http://baidu.com
proxy-test-url = http://www.qualcomm.cn/generate_204
test-timeout = 3
http-api-web-dashboard = true
在这样的情况下,依然访问国内的网络的时候,会有一阵子时断时续,一直找不到规律是在什么时候就连不上网;看一下dashbord里的记录,摘录一条如下:
Events
12:52:17.690629 [Connection] Handled by VIF
12:52:17.691078 [VIF] Fallback to TCP mode due to no valid HTTP/TLS header found.
12:52:17.692434 [Socket] Connecting with address: 101.226.142.218, bound to the primary interface (en0) explicitly under Enhanced Mode
12:52:22.693639 [Connector] Set up backup connection #2
12:52:22.694349 [Socket] Connecting with address: 101.226.142.218, bound to the primary interface (en0) explicitly under Enhanced Mode
12:52:27.692879 [Connection] Disconnect with reason: Failed to establish connection (Connection timeout)