SlideShare a Scribd company logo
1 of 5
Download to read offline
Oleh :Riza Zaenal H, S.ST

KONFIGURASI MIKROTIK UNTUK JARINGAN LAN
TOPOLOGI
ISP Telkom Speedy Modem Router Telkom Speedy (TPlink)MikrotikHub/switchPC
Client.

Asumsi awal :
1. Ip modem default 192.168.1.1(Sesuaikan dengan jaringan anda)
2. Ip mikrotik router 192.168.2.1

PERSIAPAN.
1. Pasang kabel straight dari modem ke port ether 1mikrotik, lalu pasang juga
dari port ether 2 mikrotik mengarah ke switch atau hub, lalu dari switch/hub
ke PC.
2. Gunakan winbox (Download disini)
3. Remote mikrotik dengan winbox, klik connect.

SELAMAT MENCOBA

Page 1
Oleh :Riza Zaenal H, S.ST

4. Winbox sudah terhubung dengan mikrotik.

5. Klik new terminal dan ganti nama ether1 dan ether2 dengan perintah :
[admin@MikroTik] > interface set 0 name=Public
[admin@MikroTik] > interface set 1 name=Local

SELAMAT MENCOBA

Page 2
Oleh :Riza Zaenal H, S.ST

SETTING IP ADDRES UNTUK MASING MASING ETHERNET.
[admin@MikroTik] > ip address add address=192.168.1.2 netmask=255.255.255.0
interface=Public
[admin@MikroTik] > ip address add address=192.168.2.1 netmask=255.255.255.0
interface=Local

SETTING GATEWAY
[admin@MikroTik] > ip route add gateway=192.168.1.1

SETTING DNS
[admin@MikroTik] > ip dns set servers=180.131.144.144,180.131.145.145 allowremote-requests=yes

SETTING FIREWALL NAT AGAR CLIENT BISA TERHUBUNG KE
INTERNET
[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=Public
action=masquerade
[admin@MikroTik] > ip pool add name=pool ranges=192.168.2.2-192.168.2.254

SETTING PROXY UNTUK BLOCKING SITUS
[admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=80
action=redirect to-ports=3128 comment="" disabled=no
[admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=3128
action=redirect to-ports=3128 comment="" disabled=no
[admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=8000
action=redirect to-ports=3128
[admin@MikroTik] > ip proxy access add dst-host=www.facebook.com action=deny

SELAMAT MENCOBA

Page 3
Oleh :Riza Zaenal H, S.ST
[admin@MikroTik] > ip proxy access add dst-host=www.youtube.com action=deny
[admin@MikroTik] > ip proxy print

enabled: yes
src-address: 0.0.0.0
port: 3128
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: "rizalinux@gmail.com"
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 1000
max-server-connections: 1000
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 4
cache-drive: system
[admin@MikroTik] > system reboot
Reboot, yes? [y/N]:
y
system will reboot shortly

SETTING IP CLIENT
Ip address 192.168.2.2
Subnet mask 255. 255. 255.0
Gateway 192.168.2.1

(yang diperbolehkan 2 s/d 254)

OUT PUT HASIL KONFIGURASI
Silahkan buka halaman web situs yang di block (facebook dan youtube). Jika
konfigurasinya sudah benar, maka aka nada out put seperti berikut :

SELAMAT MENCOBA

Page 4
Oleh :Riza Zaenal H, S.ST

SELAMAT MENCOBA

SELAMAT MENCOBA

Page 5

More Related Content

What's hot

Load balancing n_fail_over
Load balancing n_fail_overLoad balancing n_fail_over
Load balancing n_fail_over
miissie
 
Configure Proxy and Firewall (Iptables)
Configure Proxy and Firewall (Iptables)Configure Proxy and Firewall (Iptables)
Configure Proxy and Firewall (Iptables)
Tola LENG
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3
Sophan Nhean
 

What's hot (16)

Load balancing n_fail_over
Load balancing n_fail_overLoad balancing n_fail_over
Load balancing n_fail_over
 
Ad, dns, dhcp, file server
Ad, dns, dhcp, file serverAd, dns, dhcp, file server
Ad, dns, dhcp, file server
 
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid UmarPENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
 
Configure Proxy and Firewall (Iptables)
Configure Proxy and Firewall (Iptables)Configure Proxy and Firewall (Iptables)
Configure Proxy and Firewall (Iptables)
 
Class 3
Class 3Class 3
Class 3
 
Learning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramLearning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation Program
 
Triangle OpenStack meetup 09 2013
Triangle OpenStack meetup 09 2013Triangle OpenStack meetup 09 2013
Triangle OpenStack meetup 09 2013
 
Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Openstack installation using rdo multi node
Openstack installation using rdo multi nodeOpenstack installation using rdo multi node
Openstack installation using rdo multi node
 
Configure DHCP Server and DHCP-Relay
Configure DHCP Server and DHCP-RelayConfigure DHCP Server and DHCP-Relay
Configure DHCP Server and DHCP-Relay
 
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3
 
DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)
 
Modul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik osModul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik os
 
Installing OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHELInstalling OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHEL
 

Viewers also liked

Cara membagi bandwidth sederhana di mikrotik
Cara membagi bandwidth sederhana di mikrotikCara membagi bandwidth sederhana di mikrotik
Cara membagi bandwidth sederhana di mikrotik
dedd_simbolon
 
Laporan Mikrotik
Laporan MikrotikLaporan Mikrotik
Laporan Mikrotik
guest843b00
 

Viewers also liked (20)

Pembahasan UKK TKJ Paket 1 2013/2014
Pembahasan UKK TKJ Paket 1 2013/2014Pembahasan UKK TKJ Paket 1 2013/2014
Pembahasan UKK TKJ Paket 1 2013/2014
 
16. jailani xi tkj 2
16. jailani xi tkj 216. jailani xi tkj 2
16. jailani xi tkj 2
 
Cara membagi bandwidth sederhana di mikrotik
Cara membagi bandwidth sederhana di mikrotikCara membagi bandwidth sederhana di mikrotik
Cara membagi bandwidth sederhana di mikrotik
 
Proposal ukom
Proposal ukomProposal ukom
Proposal ukom
 
Laporan praktikum mikrokontroler dengan led
Laporan praktikum mikrokontroler dengan ledLaporan praktikum mikrokontroler dengan led
Laporan praktikum mikrokontroler dengan led
 
laporan komunikasi data standar
laporan komunikasi data standarlaporan komunikasi data standar
laporan komunikasi data standar
 
Pembahasan soal paket 1
Pembahasan soal paket 1Pembahasan soal paket 1
Pembahasan soal paket 1
 
Laporan Mikrotik
Laporan MikrotikLaporan Mikrotik
Laporan Mikrotik
 
Laporan ujikom
Laporan ujikomLaporan ujikom
Laporan ujikom
 
Penyelesaian Soal Ujikom TKJ Tahun 2016 Paket 2 Menggunakan RouterOS di Virtu...
Penyelesaian Soal Ujikom TKJ Tahun 2016 Paket 2 Menggunakan RouterOS di Virtu...Penyelesaian Soal Ujikom TKJ Tahun 2016 Paket 2 Menggunakan RouterOS di Virtu...
Penyelesaian Soal Ujikom TKJ Tahun 2016 Paket 2 Menggunakan RouterOS di Virtu...
 
Laporan installasi debian text
Laporan installasi debian textLaporan installasi debian text
Laporan installasi debian text
 
Tugas makalah XII TKJ A
Tugas makalah XII TKJ ATugas makalah XII TKJ A
Tugas makalah XII TKJ A
 
BANK SOAL JARINGAN KOMPUTER TKJ KELAS 12
BANK SOAL JARINGAN KOMPUTER TKJ KELAS 12BANK SOAL JARINGAN KOMPUTER TKJ KELAS 12
BANK SOAL JARINGAN KOMPUTER TKJ KELAS 12
 
Modul konfigurasi debian 7.5.0 i386
Modul konfigurasi debian 7.5.0 i386 Modul konfigurasi debian 7.5.0 i386
Modul konfigurasi debian 7.5.0 i386
 
Makalah mikrotik
Makalah mikrotikMakalah mikrotik
Makalah mikrotik
 
Laporan ukk
Laporan ukkLaporan ukk
Laporan ukk
 
UKK TKJ - Paket 2
UKK TKJ - Paket 2 UKK TKJ - Paket 2
UKK TKJ - Paket 2
 
SOAL TRY OUT TKJ 2012
SOAL TRY OUT TKJ 2012SOAL TRY OUT TKJ 2012
SOAL TRY OUT TKJ 2012
 
Pembahasan Soal UKK TKJj 2017 - Paket 2
Pembahasan Soal UKK TKJj 2017 - Paket 2Pembahasan Soal UKK TKJj 2017 - Paket 2
Pembahasan Soal UKK TKJj 2017 - Paket 2
 
Pembahasan Soal Ujian Praktik SMK TKJ Tahun 2016 - Paket 2
Pembahasan Soal Ujian Praktik SMK TKJ Tahun 2016 - Paket 2Pembahasan Soal Ujian Praktik SMK TKJ Tahun 2016 - Paket 2
Pembahasan Soal Ujian Praktik SMK TKJ Tahun 2016 - Paket 2
 

Similar to Ukk tkj p1 proxy mikrotik2014 2015

Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
Alessandro De Suoodh
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
theviper0308
 
Basic Switch Configuration.pptx
Basic Switch Configuration.pptxBasic Switch Configuration.pptx
Basic Switch Configuration.pptx
andutokicho
 
List of default router admin passwords and ip addresses
List of default router admin passwords and ip addressesList of default router admin passwords and ip addresses
List of default router admin passwords and ip addresses
abnmi
 
Mikro tik site to site eoip tunnel with i psec
Mikro tik site to site eoip tunnel with i psecMikro tik site to site eoip tunnel with i psec
Mikro tik site to site eoip tunnel with i psec
Uttam Ds
 
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mahadiputra S
 
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Abhilash Kuniyil
 

Similar to Ukk tkj p1 proxy mikrotik2014 2015 (20)

1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf
 
MikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port KnockingMikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port Knocking
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
 
Tutorial mikrotik step by step
Tutorial mikrotik step by stepTutorial mikrotik step by step
Tutorial mikrotik step by step
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
 
Configure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdfConfigure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdf
 
dokumen.tips_cara-setting-mikrotik-pppoe.doc
dokumen.tips_cara-setting-mikrotik-pppoe.docdokumen.tips_cara-setting-mikrotik-pppoe.doc
dokumen.tips_cara-setting-mikrotik-pppoe.doc
 
Modul 3 Firewalll.ppt
Modul 3 Firewalll.pptModul 3 Firewalll.ppt
Modul 3 Firewalll.ppt
 
Basic Switch Configuration.pptx
Basic Switch Configuration.pptxBasic Switch Configuration.pptx
Basic Switch Configuration.pptx
 
Network
NetworkNetwork
Network
 
Communication & switching networks lab manual
Communication & switching networks lab manualCommunication & switching networks lab manual
Communication & switching networks lab manual
 
ACN Micro- Project Group no. 22.pptx
ACN Micro- Project Group no. 22.pptxACN Micro- Project Group no. 22.pptx
ACN Micro- Project Group no. 22.pptx
 
Memcache as udp traffic reflector
Memcache as udp traffic reflectorMemcache as udp traffic reflector
Memcache as udp traffic reflector
 
VYATTAによるマルチパスVPN接続手法
VYATTAによるマルチパスVPN接続手法VYATTAによるマルチパスVPN接続手法
VYATTAによるマルチパスVPN接続手法
 
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleVoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
 
Firewall filters
Firewall filtersFirewall filters
Firewall filters
 
List of default router admin passwords and ip addresses
List of default router admin passwords and ip addressesList of default router admin passwords and ip addresses
List of default router admin passwords and ip addresses
 
Mikro tik site to site eoip tunnel with i psec
Mikro tik site to site eoip tunnel with i psecMikro tik site to site eoip tunnel with i psec
Mikro tik site to site eoip tunnel with i psec
 
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
 
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Recently uploaded (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Ukk tkj p1 proxy mikrotik2014 2015

  • 1. Oleh :Riza Zaenal H, S.ST KONFIGURASI MIKROTIK UNTUK JARINGAN LAN TOPOLOGI ISP Telkom Speedy Modem Router Telkom Speedy (TPlink)MikrotikHub/switchPC Client. Asumsi awal : 1. Ip modem default 192.168.1.1(Sesuaikan dengan jaringan anda) 2. Ip mikrotik router 192.168.2.1 PERSIAPAN. 1. Pasang kabel straight dari modem ke port ether 1mikrotik, lalu pasang juga dari port ether 2 mikrotik mengarah ke switch atau hub, lalu dari switch/hub ke PC. 2. Gunakan winbox (Download disini) 3. Remote mikrotik dengan winbox, klik connect. SELAMAT MENCOBA Page 1
  • 2. Oleh :Riza Zaenal H, S.ST 4. Winbox sudah terhubung dengan mikrotik. 5. Klik new terminal dan ganti nama ether1 dan ether2 dengan perintah : [admin@MikroTik] > interface set 0 name=Public [admin@MikroTik] > interface set 1 name=Local SELAMAT MENCOBA Page 2
  • 3. Oleh :Riza Zaenal H, S.ST SETTING IP ADDRES UNTUK MASING MASING ETHERNET. [admin@MikroTik] > ip address add address=192.168.1.2 netmask=255.255.255.0 interface=Public [admin@MikroTik] > ip address add address=192.168.2.1 netmask=255.255.255.0 interface=Local SETTING GATEWAY [admin@MikroTik] > ip route add gateway=192.168.1.1 SETTING DNS [admin@MikroTik] > ip dns set servers=180.131.144.144,180.131.145.145 allowremote-requests=yes SETTING FIREWALL NAT AGAR CLIENT BISA TERHUBUNG KE INTERNET [admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=Public action=masquerade [admin@MikroTik] > ip pool add name=pool ranges=192.168.2.2-192.168.2.254 SETTING PROXY UNTUK BLOCKING SITUS [admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=3128 comment="" disabled=no [admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=3128 action=redirect to-ports=3128 comment="" disabled=no [admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=8000 action=redirect to-ports=3128 [admin@MikroTik] > ip proxy access add dst-host=www.facebook.com action=deny SELAMAT MENCOBA Page 3
  • 4. Oleh :Riza Zaenal H, S.ST [admin@MikroTik] > ip proxy access add dst-host=www.youtube.com action=deny [admin@MikroTik] > ip proxy print enabled: yes src-address: 0.0.0.0 port: 3128 parent-proxy: 0.0.0.0 parent-proxy-port: 0 cache-administrator: "rizalinux@gmail.com" max-cache-size: unlimited cache-on-disk: yes max-client-connections: 1000 max-server-connections: 1000 max-fresh-time: 3d serialize-connections: no always-from-cache: no cache-hit-dscp: 4 cache-drive: system [admin@MikroTik] > system reboot Reboot, yes? [y/N]: y system will reboot shortly SETTING IP CLIENT Ip address 192.168.2.2 Subnet mask 255. 255. 255.0 Gateway 192.168.2.1 (yang diperbolehkan 2 s/d 254) OUT PUT HASIL KONFIGURASI Silahkan buka halaman web situs yang di block (facebook dan youtube). Jika konfigurasinya sudah benar, maka aka nada out put seperti berikut : SELAMAT MENCOBA Page 4
  • 5. Oleh :Riza Zaenal H, S.ST SELAMAT MENCOBA SELAMAT MENCOBA Page 5