之前在 macos 虽然下载了 clash ,在终端不能上网。因此添加了:
···
function proxy_on() {
export http_proxy=http://127.0.0.1:7890
export https_proxy=$http_proxy
export ALL_PROXY=socks5://127.0.0.1:7891
echo -e "PROXY ON..."
}
function proxy_off(){
unset http_proxy https_proxy ALL_PROXY
echo -e "PROXY OFF..."
···
ubuntu 是不是哪怕装了 clash for windows ,远程想在终端上上网,也要设置一些东西呢?
https://bbs.huaweicloud.com/blogs/405107
我根据这个配置,但是仍然不能上网
···
function proxy_on() {
export http_proxy=http://127.0.0.1:7890
export https_proxy=$http_proxy
export ALL_PROXY=socks5://127.0.0.1:7891
echo -e "PROXY ON..."
}
function proxy_off(){
unset http_proxy https_proxy ALL_PROXY
echo -e "PROXY OFF..."
···
ubuntu 是不是哪怕装了 clash for windows ,远程想在终端上上网,也要设置一些东西呢?
https://bbs.huaweicloud.com/blogs/405107
我根据这个配置,但是仍然不能上网