入手了个WAPAC Hinet,依旧像个新兵蛋子,今天的ipv4不能直连

既然有额外的IPV6,就在Singbox又弄了个优先IPV6落地,中转都要填ipv4的ddns,不然延迟会高

图片

图片

再附一个singbox优先IPV6

bash

python3 - <<'PY'

import json

p='/etc/sing-box/config.json'

with open(p) as f:

c=json.load(f)

for o in c.get('outbounds', []):

if o.get('tag') == 'direct-out':

o['domain_resolver'] = {

"server": "local",

"strategy": "prefer_ipv6"

}

with open(p,'w') as f:

json.dump(c,f,ensure_ascii=False,indent=2)

f.write('\n')

PY

bash sing-box check -c /etc/sing-box/config.json

bash systemctl restart sing-box

主楼