Windows
CMD
set http_proxy=http://192.168.123.254:7890set https_proxy=http://192.168.123.254:7890
PowerShell
$Env:http_proxy="http://192.168.123.254:7890"$Env:https_proxy="http://192.168.123.254:7890"
Linux
export https_proxy=http://192.168.123.254:7890export http_proxy=http://192.168.123.254:7890export ALL_PROXY=socks5://192.168.123.254:7891
Test
curl -I www.google.com
