Professional Documents
Culture Documents
Modul Hotspot
Modul Hotspot
2022/2023
KONFIGURASI HOTSPOT
PADA MIKROTIK
3
1. Konfigurasi IP Address
GUI :
IP > address > add (+) > address (isi ip sesuai soal) > interface > apply > OK
CLI :
Ip address add address=(ip sesuai soal) interface=(sesuai soal)
Ether1 : 192.168.100.5/24
Ether2 : 192.168.10.1/24
Wlan1 : 192.168.20.1/24
4
2. Konfigurasi DNS
GUI :
IP > DNS > servers : 118.98.44.50 dan 118.98.44.20 > ceklis allow remote request > apply >
OK
CLI :
ip dns set servers=118.98.44.50,118.98.44.20 allow-remote-requests=yes
5
3. Konfigurasi route/gateway
GUI :
Ip > route > add > gateway (isi ip gateway) > apply > OK
CLI :
ip route add gateway=192.168.100.254
GATEWAY : 192.168.100.254
6
4. Konfigurasi NAT
GUI :
IP > firewall > NAT > add (+) > chain (srcnat) > out interfcae (ether1) > action (drop) > apply >
OK
7
CLI :
Ip firewall nat add chain=srcnat out-interface=ether1 action=masquarade
5. Konfigurasi WLAN
GUI :
Wireless > wlan1 (enable) > mode (ap bridge) > band (2Ghz-B/G/N) > ssid
(ega_rahmatillah@hotspot) > apply > OK
CLI :
Interface wireless enable numbers=0
interface wireless set mode=ap-bridge band=2ghz-b/g/n ssid=ega_rahmatillah@hotspot
numbers=0
8
6. Konfigurasi Hotspot
GUI :
Ip > hotspot > hotspot setup > interface (wlan1) > ip network > ip pool (2-100) > certificate
(none) > smtp (0.0.0.0) > ip dns (dns isp) > dns name (sekolah.sch.id) > finish
9
CLI :
Ip hotspot setup
Interface : wlan1
Ip network
Masquarade : yes
Ip pool : 2-100
Certificate : none
Smtp : 0.0.0.0
Dns : ip dns
Dns name : sekolah.sch.id
10
CLI :
Ip hotspot walled-garden add server=hotspot1 dst-host=*bsnp-indonesia.org action=allow
Buka windows explorer, ke tab direktori network kemudian ketik ftp://192.168.20.1 lalu
Enter
Kemudian login,,
11
Kemudian edit file login.html menggunakan notepad, jika sudah selesai kembalikan file
tersebut ketempat semula
12
CLI :
Ip hotspot profile add name=siswa rate-limit=256k/256k
GUI :
Ip > hotspot > users > add (+) > name (siswa) > password (siswa) > profile (siswa) > apply >
OK
CLI :
Ip hotspot user add name=siswa password=siswa profile=siswa
13
CLI :
ip firewall layer7-protocol add name=youtube regexp="^.+(youtube.com).*\$"
GUI :
Ip > filter rules > add (+) > chain : forward > in. Interface : ether2 > layer7 protocol : youtube
> action : drop > apply > OK
14
CLI :
ip firewall filter add chain=forward in-interface=ether2 layer7-protocol=youtube
action=drop
TERIMA KASIHH.....
15