科学上网教程
约 259 字 预计阅读 1 分钟
- VPS:
CN2 GIA-E
> CN2 GIA
> CN2 GT
> CN2
> KVM
- 域名
- DNS & CDN:
Github
安装:
1
| wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/main/install.sh" && chmod +x install.sh && bash install.sh
|
查看配置:
Github
安装:
1
| bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
|
查看配置:
Github
Github
Clash for Android
Shadowrocket
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| # global proxy
vim ~/.zshrc
# export __host_ip=$(cat /etc/resolv.conf | grep -oP '(?<=nameserver\ ).*')
# export __proxy_1=socks://$__host_ip:10808
# export __proxy_2=http://$__host_ip:10809
# export http_proxy=$__proxy_2
# export HTTP_PROXY=$__proxy_2
# export https_proxy=$__proxy_2
# export HTTPS_PROXY=$__proxy_2
# export all_proxy=$__proxy_2
# export ALL_PROXY=$__proxy_2
source ~/.zshrc
# snap proxy
sudo snap set system proxy.http=$__proxy_2
sudo snap set system proxy.https=$__proxy_2
|
- 在 WSL 2 中访问主机代理 - Geek 成长录
- WSL2内使用windows的v2ray代理配置方式。 - 知乎