What's new

Closed Universal Squid+Privoxy installer for CentOS & Debian

Status
Not open for further replies.

homer_simpson

Eternal Poster
Joined
Nov 10, 2018
Posts
1,772
Solutions
1
Reaction
455
Points
417
Hey guys,

Sa mga may CentOS at Debian dyan, eto universal installer for Squid+Privoxy on CentOS, Debian at OpenSUSE. Pwede din subukan sa Ubuntu although I think yung Ubuntu may different default firewall, so hindi aplikable yung part na yun. Pero madali nalang idag-dag yun sa future.

In addition, it sets up a chained squid, privoxy proxy.

Just copy it over to your VPS, then run from there. And wait there's more, may auto-email pa ito sa owner with the report after it has completed the setup. Isa pa, it is plaintext. Anyone can view it, edit it (of course you have to retain the license).

Grab it from here:

Code:
https://dropmb.com/download/558651f5672d4c2a505fb3052fad89c5.html

TODO:
  • OpenVPN


Have fun!

[CAVEAT] Use it at your own risk.
 
Last edited:
salamat dito bossing. may naglapag na rin sa wakas for debian😍

sana boss add din ng autoscript para sa centos 7 na may menu.
 
Last edited:
Kung may VPS kayo na pwede ipahiram, I will do further testing. Hindi ako pamilyar sa ibang installer. Actually, naisipan ko lang gawin ito. Paki send screen shot o copy ng script ng menu, and I'll see what I can do.
 
Privoxy default port == 8118 tcp
Squid default port == 3128 tcp
OpenVPN (not implemented yet) default port == 1194 tcp/udp

By the way, I am updating the script so that port 3128 is explicit, ie 0.0.0.0:3128. In addition, yung acl:

Code:
acl localnet src 192.168.0.0/16
won't allow you to connect, unless yun yung subnet ng VPN mo. I can put it like this

Code:
acl allowAll src 0.0.0.0/0
so that it allows everyone to connect. :)

Kung gusto mo i-secure, additional steps are required such as firewall, ACLs o connect only via VPN.
 
Privoxy default port == 8118 tcp
Squid default port == 3128 tcp
OpenVPN (not implemented yet) default port == 1194 tcp/udp

By the way, I am updating the script so that port 3128 is explicit, ie 0.0.0.0:3128. In addition, yung acl:

Code:
acl localnet src 192.168.0.0/16
won't allow you to connect, unless yun yung subnet ng VPN mo. I can put it like this

Code:
acl allowAll src 0.0.0.0/0
so that it allows everyone to connect. :)

Kung gusto mo i-secure, additional steps are required such as firewall, ACLs o connect only via VPN.
ayos boss pero mas ok kung yung ip mo lang din makakaconnect usually ginagamit naman natin to sa vpn natin mas ok kung hindi allowed yung ibang ip na gamitin yung squid mo.
tsaka baka pwede boss pa udpate sa ububtu 16 to 19 kung kaya.
 
ayos boss pero mas ok kung yung ip mo lang din makakaconnect usually ginagamit naman natin to sa vpn natin mas ok kung hindi allowed yung ibang ip na gamitin yung squid mo.
tsaka baka pwede boss pa udpate sa ububtu 16 to 19 kung kaya.

Agree ako. Dapat yung owner lang o yung delegated IPs lang ang pwedeng kumonek. However, since residential and mobile IPs are dynamic, mahirap i-implement ang strict IP blocking via firewall. Ang pinaka-ideal na setup actually is certificate-based authentication ng OpenVPN. Tapos yung Squid at Privoxy will listen only on 127.0.0.1. Yun yung pinaka secure. Pwede mo na ding idagdag yung fail2ban.
 
Agree ako. Dapat yung owner lang o yung delegated IPs lang ang pwedeng kumonek. However, since residential and mobile IPs are dynamic, mahirap i-implement ang strict IP blocking via firewall. Ang pinaka-ideal na setup actually is certificate-based authentication ng OpenVPN. Tapos yung Squid at Privoxy will listen only on 127.0.0.1. Yun yung pinaka secure. Pwede mo na ding idagdag yung fail2ban.
oo boss pwede ba ganon na autoscript boss may ovpn installer kasi ako dito kaso wala syang squid mano mano ko iniinstall tsaka yung privoxy para mapagana sa tu50 up and fixplan pero may nag sabi sakin na pwede daw squid sa tu50 up and fixplan depende lang sa sa config ng squid.
 
Status
Not open for further replies.
Back
Top