= Squid = Squid Web proxy == Install in raspberry pi == {{{#!highlight bash sudo bash apt update apt install squid cd /etc/squid/ cp squid.conf squid.conf.ORIG cat squid.conf.ORIG | egrep -v -e '^[[:blank:]]*#|^$' > squid.conf nano squid.conf acl localnet src 192.168.1.0/24 http_access allow Localnet # comment http_access deny all service squid reload firefox manual proxy 192.168.1.123 (proxy squid address) Port: 3128 also for ftp and https }}} == Setup system wide proxy == {{{#!highlight bash # sudo nano /etc/profile.d/proxy.sh export http_proxy="http://192.168.1.123:3128/" export https_proxy="http://192.168.1.123:3128/" export ftp_proxy="http://192.168.1.123:3128/" export no_proxy="127.0.0.1,localhost" # For curl export HTTP_PROXY="http://192.168.1.123:3128/" export HTTPS_PROXY="http://192.168.1.123:3128/" export FTP_PROXY="http://192.168.1.123:3128/" export NO_PROXY="127.0.0.1,localhost" sudo chmod +x /etc/profile.d/proxy.sh source /etc/profile.d/proxy.sh # nano /etc/environment export http_proxy="http://192.168.1.123:3128/" export https_proxy="http://192.168.1.123:3128/" export ftp_proxy="http://192.168.1.123:3128/" export no_proxy="127.0.0.1,localhost" # For curl export HTTP_PROXY="http://192.168.1.123:3128/" export HTTPS_PROXY="http://192.168.1.123:3128/" export FTP_PROXY="http://192.168.1.123:3128/" export NO_PROXY="127.0.0.1,localhost" }}}