Setting Konfigurasi Dasar Mikrotik Lengkap






SETTING KONFIGURASI MIKROTIK
 


Memberi nama pada mikrotik
[admin@annonymous] > system identity set name=annonymous

Untuk mengganti password pada mikrrotik
[admin@annonymous] > password (enter)
Old password: (enter)
New password: 123 (enter)
Retype new password: 123 (enter)

Mengganti nama interface
[admin@annonymous] > /interface print
Flags: X – disable, D – dynamic, R – running
#          NAME                        TYPE              RX-RATE                   TX-RATE                   MTU
0   R    ether1              ether                0                                  0                                  1500
1   R    ether2              ether                0                                  0                                  1500

[admin@annonymous] > /interface set name=wan ether1     (enter)

[admin@annonymous] > /interface set name=lan ether2       (enter)

Melihat perubahan nama interface
[admin@annonymous] > /interface print
#          NAME                        TYPE              RX-RATE                   TX-RATE                   MTU
0   R    lan                   ether                0                                  0                                  1500
1   R    wan                 ether                0                                  0                                  1500

Setting IP (Internet Protocol)
[admin@annonymous] > /ip address add address=192.168.1.101/24 interface=wan           (enter)
[admin@annonymous] > /ip address add address=197.12.5.1/24 interface=lan       (enter)

Melihat perubahan pada IP
[admin@annonymous] > /ip address print
Flags:   X – disabled, I – invalid, D – dinamic
#          ADDRESS                 NETWORK                INTERFACE
0          192.168.1.101/24        192.168.1.0                 wan
1          197.12.5.1/24              197.12.5.0                   lan

Setting IP Gateway
[admin@annonymous] > /ip route add gateway=192.168.1.1                       (enter)

Melihat perubahan pada IP route
[admin@annonymous] > /ip route print                                              (enter)
Flags: X – disabled, A – active, D – dynamic,
C – connect, S – static, r – rip, b – bgp, o – ospf, m – mme,
B – blackhole, U – unreachable, P – prohibit
#               DST-ADDRESS                PREF-SRC                 GATEWAY          DISTANCE
0  A   S     0.0.0.0/0                                                                 192.168.1.1           1
1  ADC    192.168.1.0/24                   192.168.1.101             wan                       0
2  ADC    197.12.5.0/24                     197.12.5.1                   lan                         0


Setting IP DNS
[admin@annonymous] > /ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yes (enter)

Melihat perubahan IP DNS
[admin@annonymous] > /ip dns print                        (enter)
Servers                                                :           8.8.8.8,8.8.4.4
Dynamic--servers                    :          
Allow-remote-requests            : yes
Max-udp-packet-size              : 4096
Query-server-timeout              : 2s
Query-total-timeout                : 10s
Cache-size                               : 2048KiB
Cache-max-ttl                         : 1w
Cache-used                             : 9KiB

Setting NAT (Network Address Translation)
[admin@annonymous] > /ip firewall nat add chain=srcnat out-interface=wan
   action=masquerade              (enter)

Melihat perubahan pada NAT
[admin@annonymous] > /ip firewall nat print                        (enter)
Flags:   X – disabled, I – invalid, D – dynamic
  0        chain=srcnat    action=masquerade out-interface=wan           log=no log-prefix=””

Mengaktifkan fiture web proxy
[admin@annonymous] > /ip proxy set enabled=yes port=8080 cache-administrator=nama_anda@annonymous.sch.id max-cache-size=unlimited cache-on-disk=yes always-from-cache=yes

Melihat perubahan web proxy
[admin@annonymous] > /ip proxy print         (enter)
Enabled                                   :           yes
Src-address                             :           : :
Port                                         :           8080
Anonymous                             :           no
Parent-proxy                           :           : :
Parent-proxy-port                    :           0
Cache-adminstrator                 :           nama_anda@annonymous.sch.id
Max-cache-sizee                      :           unlimeted
Max-cache-object-size            :           2048KiB
Cache-on-disk                         :           yes
Max-client-connections           :           600
Max-server-connections          :           600
Max-fresh-time                       :           3d
Serialize-connections              :           no
Always-from-cache                 :           yes
Cache-hit-dscp                        :           4
Cache-path                              :           web-proxy


Mengkonfigurasi web proxy serta melakukan firewall pada client
[admin@annonymous] > /ip firewall nat add chain=dstnat protocol=tcp dst-port=80
    in-interface=lan  action=redirect to-ports=8080     (enter)

Melihat perubahan pada firewall nat
[admin@annonymous] > /ip firewall nat print                        (enter)
Flags:   X – disabled, I – invalid, D – dynamic
  0        chain=srcnat    action=masquerade out-interface=wan           log=no log-prefix=””
  1        chain=dstnat   action=redirect to-ports=8080 protocol=tcp in-interface=lan
dst-port=80 log=no log-prefix=””

Membuat daftar situs yang akan diblok
[admin@annonymous] > /ip proxy access add dst-port=80 dst-host=www.detik.com action=deny

0 Response to "Setting Konfigurasi Dasar Mikrotik Lengkap"

Post a Comment

Komentar anda adalah motivasi kami!
Untuk menyisipkan code gunakan
<i rel="code">Tuliskan Code</i>
Untuk menyisipkan gambar gunakan
<i rel="image">URL Gambar</i>
Untuk menyisipkan catatan gunakan
<b rel="quote">Tuliskan Catatan Anda</b>
Centang Notify me untuk mendapatkan notifikasi balasan komentar melalui Email

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel