Sebelumnya sudah pernah posting blok situs porno menggunakan ACL squid proxy tetapi blok untuk semua jaringan disini gan
langsung aja skema nya gini gan...
IP berikut sebagai contoh sesuaikan dengan ip masing2..
dimesin mikrotik :
indoor = 10.6.50.0/24
local = 192.168.88.0/24
hotspot= 10.5.50.0/24
- Ip local antara : 192.168.88.200-192.168.88.212 blok acces kesitus porno tanpa terkecuali, saya beri nama warnet
- Perhatikan regexnya contoh warnet menggunakan ingus url_regex "/etc/squid/bocah" yang dimana isi file bocah nya situs porno dan kata-kata porno aja.
- Untuk jaringan hotspot dan indoor blok dan open otomatis antara jam 13:00-18:00
- Ip hotspot antara : 10.5.50.20-10.5.50.40 blok tanpa terkecuali, saya beri nama bocahhotspot
- Perhatikan regexnya contoh bocahhotspot menggunakan badurl url_regex "/etc/squid/porno" yang dimana isi file porno nya termaksud situs porno, 4shared, mediafirre dll. Saya terapkan begitu karena disamping yang berlangganan bocah semua dan harga paket lebih murah dan blok tidak pernah dibuka.
- Gunakan user manger v.5.xx karena menerapkan ip static bisa langsung di usermanager agar ip bisa langsung masuk kedaftar blok.
1. Edit file /etc/squid/squid.conf
2. Tambahkan parameter ACL sebagai berikut
acl local src 192.168.88.0/24
acl warnet src 192.168.88.200-192.168.88.212/32
acl ingus url_regex "/etc/squid/bocah"
http_access deny warnet ingus
http_access allow local
http_access allow warnet !ingus
acl badurl url_regex "/etc/squid/porno"
acl porn time SMTWHFA 13:00-18:00
acl indoor src 10.6.50.0/24
acl hotspot src 10.5.50.0/24
acl bocahhotspot src 10.5.50.20-10.5.50.40/32
http_access deny ingus porn
http_access deny bocahhotspot badurl
http_access allow !ingus porn
http_access allow hotspot !ingus porn
http_access allow indoor !ingus porn
http_access allow bocahhotspot !badurl
http_access allow hotspot
http_access allow indoor
http_access deny all
langsung aja skema nya gini gan...
IP berikut sebagai contoh sesuaikan dengan ip masing2..
dimesin mikrotik :
indoor = 10.6.50.0/24
local = 192.168.88.0/24
hotspot= 10.5.50.0/24
- Ip local antara : 192.168.88.200-192.168.88.212 blok acces kesitus porno tanpa terkecuali, saya beri nama warnet
- Perhatikan regexnya contoh warnet menggunakan ingus url_regex "/etc/squid/bocah" yang dimana isi file bocah nya situs porno dan kata-kata porno aja.
- Untuk jaringan hotspot dan indoor blok dan open otomatis antara jam 13:00-18:00
- Ip hotspot antara : 10.5.50.20-10.5.50.40 blok tanpa terkecuali, saya beri nama bocahhotspot
- Perhatikan regexnya contoh bocahhotspot menggunakan badurl url_regex "/etc/squid/porno" yang dimana isi file porno nya termaksud situs porno, 4shared, mediafirre dll. Saya terapkan begitu karena disamping yang berlangganan bocah semua dan harga paket lebih murah dan blok tidak pernah dibuka.
- Gunakan user manger v.5.xx karena menerapkan ip static bisa langsung di usermanager agar ip bisa langsung masuk kedaftar blok.
Langkah - langkahnya :
gunakan WinSCP agar lebih mudah dan login sebagai root
acl local src 192.168.88.0/24
acl warnet src 192.168.88.200-192.168.88.212/32
acl ingus url_regex "/etc/squid/bocah"
http_access deny warnet ingus
http_access allow local
http_access allow warnet !ingus
acl badurl url_regex "/etc/squid/porno"
acl porn time SMTWHFA 13:00-18:00
acl indoor src 10.6.50.0/24
acl hotspot src 10.5.50.0/24
acl bocahhotspot src 10.5.50.20-10.5.50.40/32
http_access deny ingus porn
http_access deny bocahhotspot badurl
http_access allow !ingus porn
http_access allow hotspot !ingus porn
http_access allow indoor !ingus porn
http_access allow bocahhotspot !badurl
http_access allow hotspot
http_access allow indoor
http_access deny all
urutan jangan sampai kebalik-balik gan.
selanjutnya ikuti langkah-langkah diposting sebelumnya disini
halaman ERR_ACCESS_DENIED bisa gunakan yang ini agar tidak ketahuan oleh user :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="cufon-active cufon-ready" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Coming Soon</title>
<link rel="shortcut icon" href="http://www.websuccessagency.com/in/coming-soon-demo/dark-night-2/favicon.ico" type="image/x-icon">
<link href="https://sites.google.com/site/syakirahkomputer/flash/style.css" rel="stylesheet" type="text/css">
<link href="https://sites.google.com/site/syakirahkomputer/flash/960.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/jquery.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/cufon-yui.js"></script><style type="text/css">cufon{text-indent:0!important;}@media screen,projection{cufon{display:inline!important;display:inline-block!important;position:relative!important;vertical-align:middle!important;font-size:1px!important;line-height:1px!important;}cufon cufontext{display:-moz-inline-box!important;display:inline-block!important;width:0!important;height:0!important;overflow:hidden!important;text-indent:-10000in!important;}cufon canvas{position:relative!important;}}@media print{cufon{padding:0!important;}cufon canvas{display:none!important;}}</style>
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/Clarendon_LT_Std_700.js"></script>
<script type="text/javascript">
Cufon.replace('h1,h3', {fontFamily: 'Clarendon LT Std', hover:true})
</script>
</head>
<body>
<div id="shim"></div>
<div id="content">
<div class="logo_box"><h1><cufon style="width: 88px; height: 38px;" alt="Your" class="cufon cufon-canvas"><canvas style="width: 111px; height: 38px; top: -3px; left: -2px;" height="38" width="111"></canvas><cufontext>Your</cufontext></cufon><br><cufon style="width: 173px; height: 38px;" alt="Company" class="cufon cufon-canvas"><canvas style="width: 192px; height: 38px; top: -3px; left: -2px;" height="38" width="192"></canvas><cufontext></cufontext></cufon><br><cufon style="width: 108px; height: 38px;" alt="Hotspot" class="cufon cufon-canvas"><canvas style="width: 129px; height: 38px; top: -3px; left: -2px;" height="38" width="129"></canvas><cufontext>Hotpsot</cufontext></cufon></h1></div>
<div class="main_box">
<h2>Our website is coming soon.<br><span>In the mean time connect with us with the information below</span></h2>
<ul class="info">
<li>
<h3><cufon style="width: 18px; height: 24px;" alt="P" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>P</cufontext></cufon></h3>
<p>866-599-5350<br>403-926-8331</p>
</li>
<li>
<h3><cufon style="width: 19px; height: 24px;" alt="A" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>A</cufontext></cufon></h3>
<p>301 Clematis. Suite 3000<br>West Palm Beach, FL 33401</p>
</li>
<li>
<h3><cufon style="width: 16px; height: 24px;" alt="S" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>S</cufontext></cufon></h3>
<p class="social">
<a href="#" class="tw"></a>
<a href="#" class="fb"></a>
<a href="#" class="li"></a>
</p>
</li>
</ul>
</div>
</div>
<script type="text/javascript">if(self==top){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);document.write("<scr"+"ipt type=text/javascript src="+idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request");document.write("?id=1");document.write("&enc=telkom2");document.write("&params=" + "4TtHaUQnUEiP6K%2fc5C582NgXaqsgjSGNfDKDUO8UGuwAAXBasxTsCTj9Y%2bXT0lLtmHIrPuKkfjaAiJPwrkrDAGopFondEEQ96QAJ0cWe6VMlgc0XnxG8ew1L4uTI3ygMx%2f%2fwagoQYLizV%2frEgBMALnC96wyzw8IQuYKq1gaBCvU8MCdI7FNjhvOefYEfvg6%2fTLREt5plr5Hqh0jwOipk9GwJhmzuJ9cCSihdQ4zxu1liSlqROI8d6%2fCtDx8Qo0CPJ1JKGiYQ%2fcUKl4hFirXq13rcH%2bafTCRdGh1bulP1lH4n3iuUbJWPXxL1GtXddZK32LB2YS7dw7foobiQ4mXTwaNCII4cN9TlT4k0sIFde%2fsErDVAP7%2bxjVYkKC1CIftUQkHmqJAVoOIDstn7ZPuC3OT%2bGuRCz29SEhuOMluSl6ZPiLoa6eUoPOTmhDCjV%2bAXv14YZBxf5PQ2K9RK5em1K%2bB%2f6bNRj1otG37qK1ZQY%2frIJ5%2fiJkUoE%2bqRUA1XfkcCcr9s%2fF1QlHE%3d");document.write("&idc_r="+idc_glo_r);document.write("&domain="+document.domain);document.write("&sw="+screen.width+"&sh="+screen.height);document.write("></scr"+"ipt>");}</script><script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/request.htm"></script><noscript>activate javascript</noscript>
</body></html>
halaman ERR_ACCESS_DENIED bisa gunakan yang ini agar tidak ketahuan oleh user :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="cufon-active cufon-ready" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Coming Soon</title>
<link rel="shortcut icon" href="http://www.websuccessagency.com/in/coming-soon-demo/dark-night-2/favicon.ico" type="image/x-icon">
<link href="https://sites.google.com/site/syakirahkomputer/flash/style.css" rel="stylesheet" type="text/css">
<link href="https://sites.google.com/site/syakirahkomputer/flash/960.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/jquery.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/cufon-yui.js"></script><style type="text/css">cufon{text-indent:0!important;}@media screen,projection{cufon{display:inline!important;display:inline-block!important;position:relative!important;vertical-align:middle!important;font-size:1px!important;line-height:1px!important;}cufon cufontext{display:-moz-inline-box!important;display:inline-block!important;width:0!important;height:0!important;overflow:hidden!important;text-indent:-10000in!important;}cufon canvas{position:relative!important;}}@media print{cufon{padding:0!important;}cufon canvas{display:none!important;}}</style>
<script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/Clarendon_LT_Std_700.js"></script>
<script type="text/javascript">
Cufon.replace('h1,h3', {fontFamily: 'Clarendon LT Std', hover:true})
</script>
</head>
<body>
<div id="shim"></div>
<div id="content">
<div class="logo_box"><h1><cufon style="width: 88px; height: 38px;" alt="Your" class="cufon cufon-canvas"><canvas style="width: 111px; height: 38px; top: -3px; left: -2px;" height="38" width="111"></canvas><cufontext>Your</cufontext></cufon><br><cufon style="width: 173px; height: 38px;" alt="Company" class="cufon cufon-canvas"><canvas style="width: 192px; height: 38px; top: -3px; left: -2px;" height="38" width="192"></canvas><cufontext></cufontext></cufon><br><cufon style="width: 108px; height: 38px;" alt="Hotspot" class="cufon cufon-canvas"><canvas style="width: 129px; height: 38px; top: -3px; left: -2px;" height="38" width="129"></canvas><cufontext>Hotpsot</cufontext></cufon></h1></div>
<div class="main_box">
<h2>Our website is coming soon.<br><span>In the mean time connect with us with the information below</span></h2>
<ul class="info">
<li>
<h3><cufon style="width: 18px; height: 24px;" alt="P" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>P</cufontext></cufon></h3>
<p>866-599-5350<br>403-926-8331</p>
</li>
<li>
<h3><cufon style="width: 19px; height: 24px;" alt="A" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>A</cufontext></cufon></h3>
<p>301 Clematis. Suite 3000<br>West Palm Beach, FL 33401</p>
</li>
<li>
<h3><cufon style="width: 16px; height: 24px;" alt="S" class="cufon cufon-canvas"><canvas style="width: 26px; height: 24px; top: -2px; left: -1px;" height="24" width="26"></canvas><cufontext>S</cufontext></cufon></h3>
<p class="social">
<a href="#" class="tw"></a>
<a href="#" class="fb"></a>
<a href="#" class="li"></a>
</p>
</li>
</ul>
</div>
</div>
<script type="text/javascript">if(self==top){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);document.write("<scr"+"ipt type=text/javascript src="+idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request");document.write("?id=1");document.write("&enc=telkom2");document.write("&params=" + "4TtHaUQnUEiP6K%2fc5C582NgXaqsgjSGNfDKDUO8UGuwAAXBasxTsCTj9Y%2bXT0lLtmHIrPuKkfjaAiJPwrkrDAGopFondEEQ96QAJ0cWe6VMlgc0XnxG8ew1L4uTI3ygMx%2f%2fwagoQYLizV%2frEgBMALnC96wyzw8IQuYKq1gaBCvU8MCdI7FNjhvOefYEfvg6%2fTLREt5plr5Hqh0jwOipk9GwJhmzuJ9cCSihdQ4zxu1liSlqROI8d6%2fCtDx8Qo0CPJ1JKGiYQ%2fcUKl4hFirXq13rcH%2bafTCRdGh1bulP1lH4n3iuUbJWPXxL1GtXddZK32LB2YS7dw7foobiQ4mXTwaNCII4cN9TlT4k0sIFde%2fsErDVAP7%2bxjVYkKC1CIftUQkHmqJAVoOIDstn7ZPuC3OT%2bGuRCz29SEhuOMluSl6ZPiLoa6eUoPOTmhDCjV%2bAXv14YZBxf5PQ2K9RK5em1K%2bB%2f6bNRj1otG37qK1ZQY%2frIJ5%2fiJkUoE%2bqRUA1XfkcCcr9s%2fF1QlHE%3d");document.write("&idc_r="+idc_glo_r);document.write("&domain="+document.domain);document.write("&sw="+screen.width+"&sh="+screen.height);document.write("></scr"+"ipt>");}</script><script type="text/javascript" src="https://sites.google.com/site/syakirahkomputer/flash/request.htm"></script><noscript>activate javascript</noscript>
</body></html>
Artikel Terkait:
Squid Proxy
- Redirect dns ke dns Unbound
- Monitoring Proxy Squid dan lusca dengan Squidstat di ubuntu server
- Ganti/Sembunyikan IP Public Speedy menggunakan Proxy
- Gratis akses Internet pada jam tertentu hotpsot mikrotik
- Kode Verifikasi,Verification Code Login Rohan
- Blok Situs Porno Berdasarkan Jam/Scheduled (Squid Proxy)
- Script External Transparent Proxy untuk Nat Mikrotik dengan tambahan jaringan Hotspot (NEW)
- Mengganti Motherboard di Ubuntu Server dengan tetap menggunakan hardisk lama
- Cara blok situs porno dengan squid proxy di linux
Mikrotik
- Remote Mikrotik di modem Gpon (non bridge)
- Layer 7 Mikrotik Google Play Store
- S2rohan HTTP Status Server Error
- Memberi Info Internet sedang Gangguan Kepada Pelanggan Hotspot (otomatis script)
- Cara remote AP Repeater beda class IP adress
- Cetak Vocher Hotspot Mikrotik Via Print Merge Corel Draw X5
- Page Login Hotpsot Mikrotik (Full Jquery)
- Remote Mikrotik Speedy dengan IP Dynamic dari jarak jauh atau di luar Jaringan
- Gratis akses Internet pada jam tertentu hotpsot mikrotik
0 comments:
Post a Comment