You are on page 1of 3

Ringkasan Langkah-Langkah Setting Mikrotik 5.

20 ::
A. Setting menjadi Router ::
a. Interface
a. Mengganti nama interface
1) interface set ether1 name=internet
b. Cek Interface
1) interface print

b. IP Address
a. Mengedit IP address
1) Ip address edit number=1
Value name = address
b. Menambahkan IP address
1) ip address add address=192.168.1.2/24 interface=Public
c. Cek IP address
1) ip address print

c. Gateway
a. Menambahkan IP Gateway
1) ip route add gateway=192.168.1.1
b. Cek IP Gateway
1) ip route print

d. NAT (Network Address Translation)


a. Menambahkan IP firewall nat
1) ip firewall nat add chain=scrnat out-interface=Public
action=masquerade
b. Cek IP firewall nat
1) ip firewall nat print

e. Name server
a. Menambahkan IP DNS
1) ip dns set server=202.134.0.155 allow-remoterequests=yes
b. Cek IP DNS
1) ip dns print

B. Setting Limit Bandwith ::

1. Memanagement bandwidth

queue simple add name={ nama }


target-addresses={ ip address yang dituju }
interface={ interface yang digunakan untuk melewati data }
max-limit={ 256k/128k }

a. Konfigurasinya
1) queue simple add name="Klien1" target-addresses=192.168.0.0/27
dst-address=0.0.0.0/0 max-limit=256k/128k

C. Setting DHCP Server


1. Konfigurasi DHCP Server

ip dhcp-server setup
dhcp server interface = { interface yang digunakan }
dhcp server space = { network yang akan di dhcp }
gateway for dhcp network = { ip gateway }
address to give out = { range ip address }
dns servers = { name server }
lease time = { waktu sewa yang diberikan }

a. Ketikkan ::

1) ip dhcp-server setup

2) Select interface to run DHCP server on


dhcp server interface: local

3) Select network for DHCP addresses


dhcp address space: 192.168.50.0/27

4) Select gateway for given network


gateway for dhcp network: 192.168.50.15

5) If this is remote network, enter address of DHCP relay


dhcp relay: 192.168.50.15

6) Select pool of ip addresses given out by DHCP server


addresses to give out: 192.168.50.1-192.168.50.14

7) Select DNS servers


dns servers: 8.8.8.8

8) Select lease time


lease time: 3d

b. Lihat status DHCP server


1) ip dhcp-server print

D. Setting Hotspot Mikrotik

1. Konfigurasi Hotspot
a) Ketikkan perintah ::
1) ip hotspot setup

Select interface to run HotSpot on


2) hotspot interface: local
Set HotSpot address for interface
3) local address of network: 192.168.50.15/27
4) masquerade network: yes

Set pool for HotSpot addresses


5) address pool of network: 192.168.50.1-192.168.50.14

Select hotspot SSL certificate


6) select certificate: none

Select SMTP server


7) ip address of smtp server: 0.0.0.0

8) Setup DNS configuration


dns servers: 8.8.8.8
9) DNS name of local hotspot server
dns name:

Create local hotspot user


10) name of local hotspot user: admin
11) password for the user:

2. Membuat User Hotspot


Ketikkan perintah ::

ip hotspot user add server=all name=user1 password=123


profile=default

E. Memblokir Website

ip firewall filter add chain=foward content=www.youtube.com


action=drop

atau

///buat adress list ip yang mau diblokir


ip firewall address-list add list=situsblok address=107.189.160.68
ip firewall address-list add list=ipsmkn9 address=116.197.130.201 <=
ip website sloops.com

//proses blokir via firewall filter ---okle


ip firewall filter add chain=forward action=drop
src-address=192.168.1.0/24 dst-address-list=situsblok protocol=tcp
dst-port=80

You might also like