terminal set vpn - Serbipunk/notes GitHub Wiki
https://askubuntu.com/a/584183
export the below variables in terminal
export http_proxy='http://proxyServerSddress:proxyPort'
export https_proxy='https://proxyServerSddress:proxyPort'
export http_proxy="127.0.0.1:7890"
export https_proxy="127.0.0.1:7890"
and use the following commands to disable proxy
unset http_proxy
unset https_proxy