Add the following variable to ~/.bashrc

export http_proxy="http://127.0.0.1:12333"
export https_proxy="http://127.0.0.1:12333"