https://www.metahackers.pro/spoof-http-header-using-squid-proxy/
ssh <user>@<IP_server>
ssh pi@192.168.12.35
apt-get install squid
mkdir /var/www/html/squid
Monday, 9 December 2019
SSL On SQUID 2.7.STABLE9
#=== service squid start =====#
#==================START CONFIGURATION====================#
cache_mgr triman@anonymos.com
### 2019/ December ##
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl ncsa_user proxy_auth REQUIRED
#http_access allow ncsa_user
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
#==================START CONFIGURATION====================#
cache_mgr triman@anonymos.com
### 2019/ December ##
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl ncsa_user proxy_auth REQUIRED
#http_access allow ncsa_user
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
Sunday, 8 December 2019
Cara Rebuild Squid (Upgrade)
/etc/init.d/squid3 stop
mkdir /root/squid
cd /root/squid
lalu rebuild sesuai kebutuhn
apt-get install build-essential fakeroot devscripts gawk gcc-multilib dpatch
apt-get build-dep squid3
apt-get build-dep openssl
apt-get build-dep wccp
apt-get build-dep wccpv2
apt-get source squid3
apt-get install libssl-dev
squid -v
mkdir /root/squid
cd /root/squid
lalu rebuild sesuai kebutuhn
apt-get install build-essential fakeroot devscripts gawk gcc-multilib dpatch
apt-get build-dep squid3
apt-get build-dep openssl
apt-get build-dep wccp
apt-get build-dep wccpv2
apt-get source squid3
apt-get install libssl-dev
squid -v
Block ADS dengan Mikrotik
Berikut Scriptnya....
/ip firewall layer7-protocol
add name=ADS regexp="^.+(windowsupdate.coman|alyticspixel.microsoft.com|dl.w\
s.microsoft.com|googlesyndication.com|doubleclick.net|beritavideo.info).*\
\$"
/ip firewall filter
add action=drop chain=forward layer7-protocol=ADS
^.+(windowsupdate.com|analyticspixel.microsoft.com|dl.ws.microsoft.com|googlesyndication.com|doubleclick.net|adclick.g.doubleclick.net|googleads.g.doubleclick.net|beritavideo.info).*$
Cukup sederhana, dan lihjat hasilnya...
/ip firewall layer7-protocol
add name=ADS regexp="^.+(windowsupdate.coman|alyticspixel.microsoft.com|dl.w\
s.microsoft.com|googlesyndication.com|doubleclick.net|beritavideo.info).*\
\$"
/ip firewall filter
add action=drop chain=forward layer7-protocol=ADS
^.+(windowsupdate.com|analyticspixel.microsoft.com|dl.ws.microsoft.com|googlesyndication.com|doubleclick.net|adclick.g.doubleclick.net|googleads.g.doubleclick.net|beritavideo.info).*$
Cukup sederhana, dan lihjat hasilnya...
Subscribe to:
Posts (Atom)