Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TUGAS REMIDIAL XII TKJ 1
#1
DNS
1. nano /etc/network/interfaces
[spoil][Image: yl25d.jpg][/spoil]
2.Service networking restart
3.cd /etc/bind
4.nano named.conf.default-zones
[spoil][Image: suzxjl.jpg][/spoil]
5.cp db.local db.mega dan cp db.local db.192
6. nano db.mega dan nano db.192
[spoil][Image: wl37r.jpg]
[Image: 2hd625z.jpg][/spoil]
7. nano resolv.conf
[spoil][Image: 14e2lw0.jpg][/spoil]

squid
1. nano /etc/network/interfaces
[spoil][Image: m8jpf6.jpg][/spoil]
2. cd /etc/squid
3. nano /etc/sysctl.conf
hilangkan tanda # pada net.ipvforward1
4. nano /etc/rc.local
ketik iptables -t nat -A POSTROUTING -j MASQUERADE dan iptables -A PREROUTING -t nat -j REDIRECT -p tcp --dport 80 -- to -port 3128
5. nano squid.conf
http_port 3128 (+transparet)
search = acl localhost tambahkan acl block url_regex"/etc/squid/blok"
dan tambah http_accessdeny blok
search = http_access deny all tambah http_access aallow all
dan tambahkan di paling bawah = visible_hostname (megaasm.sch.id) dan chace_mgr <!-- m --><a class="postlink" href="http://www.megaasm@sekolah.sch.id">http://www.megaasm@sekolah.sch.id</a><!-- m -->
[spoil][Image: 2u4rpxz.jpg][/spoil]
6. nano /etc/squid/blok
[spoil][Image: u7li1.jpg][/spoil]
7. restart dan setting ip pada network host dan network client
8. buka exsplorer pada computer client setting internetnya > connected > LAN setting
9. carilah alamat pada exsplorer
[spoil][Image: 29pbzt1.jpg][/spoil]
[spoil][Image: jaylar.jpg][/spoil]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About Us
    Write About your Forum and stuff where this theme is Placed Just I am trying to extend the paragraphs to make some nice looking lines. But you can write about your forum lol. Like what your forum have special and all. or just leave what i have written if you don't like to write much..