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

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
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
 
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...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
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.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

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