Configuring mihomo (Clash.Meta) subscription on Linux
First, pay for a service that supports Clash Meta subscription.
Then:
doas pacman -S mihomo # install mihomo
curl [subscription link] > config.yaml # get config from your vpn provider
# pay attention that the subscription link is of Clash.Meta, not Clash
cp /etc/clash/Country.mmdb ./ # It is very stupid that the file is not used by default
Enable TUN and disable proxy ports in config.yaml
:
# port: 7890 #本地http代理端口
# socks-port: 7891 #本地socks5代理端口
# mixed-port: 7890 #本地混合代理(http和socks5合并)端口
tun:
enable: true
Now enjoy surfing the Internet!
doas mihomo -d .