Contoh
:
Langkah-langkah setting router :
ü Pakai kabel straight
yang dihubungkan PC ke router
ü IP dibuat otomatis
ü Buka WINBOX , klik
[....] untuk masuk ke mikrotik kemudian connect
v IP > address >klik tanda
(+) >masukan ;
o
ip publik
114.30.82.85/27 =>eth1
o
ip local
192.168.11.1/24 =>eth 2 > apply OK
v IP >firewall >tab NAT >klik
tanda (+) >tab general >masukan;
o
chain = srcnat
o
scr address = 192.16811.0/24 (network IP local)
v
Tab action
>masukan ;
o
action = masquerade > aplly OK
v IP >DNS >server > isi 114.30.82.90 kemudian
klik anak panah yang kebawah isi lagi 144.30.80.34 > janganlupa
centang allow remote >aplly OK
v IP >router >klik(+)
>gateway 114.30.82.65 >aplly OK
2.
IP>Firewall>Layer
7 protocol>Masukan :
Nama : youtube (misal yang di block youtube)
Regexp:^,*(youtube).*$
Apply>OK
3. IP>Firewall>filter rules>Masukan :
Tab General à chain = forward
à src-add = 192.168.11.0/24 (network IP Local)
Tab Advanceà content = youtube
Tab
Action àAction = drop
>Apply>OK
4. Setting IP Laptop = IP address :
192.168.11.7 (misal)
SM : 255.255.255.0
Gateway : 192.168.11.1 (IP Local)
DNS : sperti biasa .
0 Komentar
Click to see the code!
To insert emoticon you must added at least one space before the code.