‘’‘
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 ,远程想在终端上上网,也要设置一些东西呢?
export, Clash, all_proxy, proxy