Advertisement
Shadow_Ace

deb9 bug ip

Mar 19th, 2020
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. Squid Installer
  2. Debian9x64 and Ubuntu16x64
  3.  
  4. Squid 4.9-2 quick Specs check:
  5. All default configuration included, same as what you get when you install via apt install.
  6. HTTPS Filtering And SSL Bumping Supported
  7. Enabled HTTP Violations (for the option of setting up high-anonymous-elite-proxy)
  8. Squid Port:8008
  9.  
  10. Additional note: pwede niyo po ito iinstall/ipatong sa mga vps niyo kahit may nakainstall ng ibang mga services. Need niyo lang muna unistall yung squid proxy niyo kung meron man bago niyo irun to.
  11.  
  12. Squid Uninstaller:
  13. apt-get install -y wget && wget https://www.dropbox.com/s/8vvqq15u3mwuvyx/uninst_squid.sh && chmod +x uninst_squid.sh && ./uninst_squid.sh
  14.  
  15. Squid Installer Debian 9 x64:
  16. apt-get install -y wget && wget https://www.dropbox.com/s/orzox00bz7a78jv/install_deb9x64_modsquid4.9-2.sh && chmod +x install_deb9x64_modsquid4.9-2.sh && ./install_deb9x64_modsquid4.9-2.sh
  17.  
  18. Squid Installer Ubuntu 16 x64::
  19. apt-get install -y wget && wget https://www.dropbox.com/s/lh6kvwj0860elgt/install_ubnt16x64_modsquid4.9-2.sh && chmod +x install_ubnt16x64_modsquid4.9-2.sh && ./install_ubnt16x64_modsquid4.9-2.sh
  20.  
  21. =====================
  22. # nano /etc/squid/squid.conf
  23. =====================
  24.  
  25. Cut, paste and hit enter. Then welcome sa Nano Editor. Use keyboard arrows to navigate.
  26.  
  27. First things first, make sure lahat ng padadaanin ninyo sa Proxy nakalist sa ports nya na iaallow. So if magpapadaan kayo ng SSH, idagdag nyo ang port 22 both sa “Safe_ports” at “SSL_ports”. This rule applies to all services na gusto ninyo padaanin. Tulad sa screenshot ko, ito idadagdag natin:
  28. ---------------------------------------------
  29. acl Safe_ports port 22
  30. acl SSL_ports port 22
  31. ---------------------------------------------
  32.  
  33. Scroll down tayo hanggang mahanap yung “http_access deny all” palitan natin ng:
  34. ---------------------------------------------
  35. http_access allow all
  36. ---------------------------------------------
  37.  
  38. Para magamit natin publicly.
  39.  
  40. Then para maisave natin hit natin keyboard combo na “CTRL + X” then may lalabas na question, pakisagot ng “Y”, then hit “enter”.
  41.  
  42. Then restart natin si Squid Proxy,
  43. =====================
  44. # systemctl restart squid
  45. =====================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement