public:squid_update_proxy
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:squid_update_proxy [2020/03/11 18:24] – [Linux Update Proxy Server] jehaverlack | public:squid_update_proxy [2024/01/25 03:31] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| </ | </ | ||
| + | Use htpasswd to create the password file with the **update-user**: | ||
| + | < | ||
| + | sudo htpasswd -c / | ||
| + | </ | ||
| + | ==== Firewall ==== | ||
| + | Be sure to open up firewall services for squid on port 3128. | ||
| + | |||
| + | e.g. on CentOS 7,8 | ||
| + | < | ||
| + | firewall-cmd --zone=public --add-service=squid --permanent | ||
| + | </ | ||
| ===== Clientside ===== | ===== Clientside ===== | ||
| + | |||
| + | ==== RedHat / CentOS ==== | ||
| + | On YUM clients append the following lines to | ||
| + | |||
| + | **/ | ||
| + | < | ||
| + | proxy=http:// | ||
| + | proxy_username=update-user | ||
| + | proxy_password=******** | ||
| + | </ | ||
| + | |||
| + | ==== Debian / Ubuntu / Raspbian ==== | ||
| + | On apt-get Clients create the file: | ||
| + | |||
| + | / | ||
| + | < | ||
| + | Acquire:: | ||
| + | </ | ||
| + | |||
| + | |||
| + | Then run apt-get update or apt-get install a package | ||
public/squid_update_proxy.1583951079.txt.gz · Last modified: (external edit)
