Advertisement
askanton

squid

Feb 12th, 2021
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Dont forget to delite(ssh to 91.238.104.247):
  2.  
  3. apt install apache2-utils
  4. sudo apt install squid
  5. htpasswd -c /etc/squid/passwd squid_user
  6. dfgrw434dsdsd
  7. nano /etc/squid/squid.conf
  8.  
  9. http_access allow all
  10.  
  11. auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
  12. auth_param basic credentialsttl 2 hours
  13. auth_param basic casesensitive off
  14. acl ncsa_users proxy_auth REQUIRED
  15. http_access allow ncsa_users
  16.  
  17. sudo systemctl restart squid
  18.  
  19. sudo systemctl status squid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement