Linux Terminal#
v2rayA on Linux
- 現在のシェルのためのプロキシを一度使用する
export http_proxy="http://127.0.0.1:20171"
export https_proxy="http://127.0.0.1:20171"
- 成功したかどうかを確認する
echo $http_proxy
echo $https_proxy
- その他の一般的なコマンド
# http/socks5を設定する
export http_proxy="http://127.0.0.1:12346/"
export https_proxy="https://127.0.0.1:12346/"
export http_proxy="socks5://127.0.0.1:12347/"
export https_proxy="socks5://127.0.0.1:12347/"
export all_proxy="socks5://127.0.0.1:22346/"
# 設定を解除する
unset http_proxy
unset https_proxy
unset ALL_PROXY
Windows Terminal#
Clash for Windows
- 現在のシェル
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTPS_PROXY="http://127.0.0.1:7890"
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:7890