What's new

Closed Privoxy - Squid Proxy Replacement

Status
Not open for further replies.
Sa mga server owners jan na hindi mapaconnect si openvpn + squid proxy.
Papalitan lang po natin ung squid proxy nyo ng privoxy. auto 200 na po status nyan.

Follow me for more tutorials.



1.) Update muna tayo
DEBIAN - UBUNTU
Code:
apt-get update -y && apt-get upgrade -y && apt autoclean -y && apt autoremove
CENTOS
Code:
yum update -y && yum upgrade -y



2.) Install tayo modules
DEBIAN - UBUNTU
Code:
apt-get install privoxy
CENTOS
Code:
yum install privoxy -y



3.) erase natin laman ng config at mag lalagay tayo ng bago
DEBIAN - UBUNTU - CENTOS
Code:
rm /etc/privoxy/config
nano /etc/privoxy/config



4.) ilagay ito sa config file nyo (dapat ganyan ang itsura)
DEBIAN - UBUNTU - CENTOS
Code:
user-manual /usr/share/doc/privoxy/user-manual
confdir /etc/privoxy
logdir /var/log/privoxy
filterfile default.filter
logfile logfile
listen-address  0.0.0.0:8118
toggle  1
enable-remote-toggle  0
enable-remote-http-toggle  0
enable-edit-actions 0
enforce-blocks 0
buffer-limit 4096
enable-proxy-authentication-forwarding 1
forwarded-connect-retries  1
accept-intercepted-requests 1
allow-cgi-request-crunching 1
split-large-forms 0
keep-alive-timeout 5
tolerate-pipelining 1
socket-timeout 300
permit-access 0.0.0.0/0 1.2.3.4
palitan ang 1.2.3.4 ng ip ng server mo
palitan ang 8118 ng port na gusto mo



5.) restart natin yung service
DEBIAN - UBUNTU - CENTOS
Code:
service privoxy restart



5.) check natin kung active na sya
DEBIAN - UBUNTU - CENTOS
Code:
service privoxy status
netstat -lntp | grep privoxy



6.) maaari mo na syang ilagay sa openvpn mo or sa ssh mo

Code:
PS :
panu mag save gamit ang nano?
CTRL + X then Y


Code:
PSS :
sa mga nakakakuha ng error 503
ibig sabihin nun nakaka connect ka na sa privoxy pero need i adjust ng payload nyo.
so far working sya sa TU50 at FLP300
timplahin nyo nalang sa ibang network

Thanks homer_simpson
Ayaw po mag install ng privoxy sa centos 7
 
Check your logs. Malamang yung mga bots yan, pegging your connections. Changing port won't help much as the bots can discover the new port pretty quickly. Firewall can help you in this instance.
 
Status
Not open for further replies.
Back
Top