Alexis Posted July 25, 2019 Posted July 25, 2019 Hi, I'm having some trouble with my OrangePi Zero with Armbian running with Armbien. I'm trying to setup a proxy with the IP address and port without any success... I need the proxy to be for everything (http, https, ftp..) I've tried everything I found on google : - editing /etc/apt/apt.conf.d/10proxy with : Acquire::http::Proxy "http://proxy_server_address:port"; - editing /etc/environnement with : export http_proxy="http://proxyipaddress:proxyport" (also https, ftp, no_proxy) - editing visudo with : Defaults env_keep+="http_proxy https_proxy no_proxy" - uncommenting /etc/wgetrc where the proxy is enabled - adding in ~/.bashrc the "export ...' lines but with all this my Orange pi still appears with my regular IP when accessing my server and not the proxy IP... I'm using a random public proxy server running in elite mode and working on my computer for testing. The proxy is : - 103.106.119.170 - 46988 Thanks for helping !
lanefu Posted July 25, 2019 Posted July 25, 2019 3 minutes ago, Alexis said: Hi, I'm having some trouble with my OrangePi Zero with Armbian running with Armbien. I'm trying to setup a proxy with the IP address and port without any success... I need the proxy to be for everything (http, https, ftp..) I've tried everything I found on google : - editing /etc/apt/apt.conf.d/10proxy with : Acquire::http::Proxy "http://proxy_server_address:port"; - editing /etc/environnement with : export http_proxy="http://proxyipaddress:proxyport" (also https, ftp, no_proxy) - editing visudo with : Defaults env_keep+="http_proxy https_proxy no_proxy" - uncommenting /etc/wgetrc where the proxy is enabled - adding in ~/.bashrc the "export ...' lines but with all this my Orange pi still appears with my regular IP when accessing my server and not the proxy IP... I'm using a random public proxy server running in elite mode and working on my computer for testing. The proxy is : - 103.106.119.170 - 46988 Thanks for helping ! nto sure wha tall supports the enviornent proxy vars but you may need ALL_PROXY HTTPS_PROXY HTTP_PROXY NO_PROXY=127.0.0.1,localhost and do lowercase versions as well
Alexis Posted July 26, 2019 Author Posted July 26, 2019 Thx for the answer but what do you mean by I need this ? Where do I put this ?
Alexis Posted August 5, 2019 Author Posted August 5, 2019 I've set the /etc/environment with : export ALL_PROXY="http://proxyip:proxyport/" same for http, https, ftp the no_proxy in uppercase and lowercase and still not working.
Recommended Posts