Minggu, 23 Oktober 2016
Jumat, 15 Februari 2013
<html>
<head>
<title>Akses Ditolak</title>
<style type="text/css">
body {
width: 700px;
background-color: #3f4162;
margin: 0px auto auto auto;
}
h1 {
color : #585db1;
margin-bottom : 0px;
}
#isi {
margin-top:100px;
background-color: <img src="http://globalinternetbox.net/access_denied.jpg"/>;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border = 1px solid #F00;
padding: 10px 2.00em 2.00em 2.00em ;
text-align: center;
}
</style>
</head>
<body background="http://t2.gstatic.com/images?q=tbn:ANd9GcRkvV27UF_LSPA-LHCbjl3OpQNCqgxvLy3Dz8UriD7xfcbZ2V12ng">
<div id="isi">
<h1><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBXtaMgZ2j2Rp-2Kpm5UPlQ05b-mNYNqtq-LlZ_Ngnmon92wf1n-NX_zwJ1QvxST5sAAyH9gcGs02nvaCzs2itGDZhF_-4tgBp1eYlEllL_flUcDrUN-CQTX1cwwz6MDKzSu-_FGEzF23t/s300/Access+Denied.jpg"/></h1><br />
<hr /><br />
AKSES DITOLAK !<br />
</div>
<div id="footer"><!--Generated %T by %h (%s) --><!-- %c --> </div>
</body>
</html>
SCRIPT HTML 2
<html>
<head>
<title>Akses Ditolak</title>
<marquee>
<h2><font size=5 color="ffffff"> -- AKSES DITOLAK -- -- ACCESS DENIED -- -- AKSES DITOLAK -- -- ACCESS DENIED -- -- AKSES DITOLAK -- -- ACCESS DENIED -- -- AKSES DITOLAK -- -- ACCESS DENIED -- </h2>
</marquee>
<style type="text/css">
body {
width: 700px;
background-color: #3f4162;
margin: 0px auto auto auto;
}
h1 {
color : #585db1;
margin-bottom : 0px;
}
#isi {
margin-top:100px;
background-color: <img src="http://globalinternetbox.net/access_denied.jpg"/>;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border = 1px solid #F00;
padding: 10px 2.00em 2.00em 2.00em ;
text-align: center;
}
</style>
</head>
<script src='https://sites.google.com/site/vikrymadzblogspotcom/vikrymadz/daungugur.js' type='text/javascript'/>
</script>
<body background="http://www.designyourway.net/diverse/typowall/wallpaper-1242637.jpg">
<div id="isi">
<h1><img src="http://media.gizmodo.co.uk/wp-content/uploads/2012/10/Access-Denied-304x175.jpg"/></h1><br />
<hr /><br />
<font size=10 color="ffffff">ACCESS DENIED !!!<br />
</div>
<div id="footer"><!--Generated %T by %h (%s) --><!-- %c --> </div>
</body>
</html>
Petunjuk Paket 1
*nano /etc/network/interfaces
Tambahkan IP eth1
*/etc/init.d/networking restart
*nano /etc/apt/sources.list
deb http://kambing.ui.ac.id/ubuntu/ oneiric main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ oneiric-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ oneiric-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ oneiric-proposed main restricted universe multiverse
*apt-get update
*nano /etc/sysctl.conf
# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1
*iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
*iptables -t nat -n -L
*apt-get install squid -y
*cd /etc/squid
*cp squid.conf squid.confbu
*nano squid.conf
Tambahkan :
acl all src all
acl localnet src 192.168.55.0/24
acl situs url_regex -i "/etc/squid/diblokir"
http_access deny situs
http_access allow localnet
http_port 3128 transparent
cache_access_log /var/log/squid/access.log
visible_hostname www.sekolah.com
cache_mgr alfianurfidia
*nano /etc/squid/diblokir
yahoo
*mkdir /cahce
*chown -R proxy:proxy /cache
*chown -R proxy:proxy /etc/squid/diblokir
*/etc/init.d/squid stop
*squid -z
*/etc/init.d/squid start
*iptables -t nat -A PREROUTING -p tcp -j REDIRECT --dport 80 --to-port 3128
ATAU
*iptables -t nat -I PREROUTING -i eth1 -p tcp -m tcp -jd REDIRECT --dport 80 --to-ports 3128
*iptables -t nat -n -L
*iptables-save > /etc/iptablessave
*nano /etc/init.d/rc.local
iptables-restore < /etc/iptablessave
*/etc/init.d/squid restart
*reboot