Z3R0-C0NF1GZ
Forum Guru
- Joined
- Nov 16, 2014
- Posts
- 970
- Solutions
- 2
- Reaction
- 5,897
- Points
- 1,101
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
CENTOS
2.) Install tayo modules
DEBIAN - UBUNTU
CENTOS
3.) erase natin laman ng config at mag lalagay tayo ng bago
DEBIAN - UBUNTU - CENTOS
4.) ilagay ito sa config file nyo (dapat ganyan ang itsura)
DEBIAN - UBUNTU - CENTOS
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
5.) check natin kung active na sya
DEBIAN - UBUNTU - CENTOS
6.) maaari mo na syang ilagay sa openvpn mo or sa ssh mo
Thanks homer_simpson
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
Code:
yum update -y && yum upgrade -y
2.) Install tayo modules
DEBIAN - UBUNTU
Code:
apt-get install privoxy
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 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
Check if Privoxy is running:
Bash:pgrep -l privoxy
Check if it is listening:
Bash:ss -4tlnp | grep privoxy
To check its current config with its comments not being displayed for easy viewing:
Bash:grep '^\s*[^#]' /etc/privoxy/config
Kapag nagpa-503 error, isang dahilan dyan is due to file descriptors being exhausted, ie too many connections. So Privoxy won't accept new connections until the old ones timed-out. Yung 2nd command above can be helpful to check the current connections.
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
Last edited: