Langkah Konfigurasi dengan Winbox / Terminal
- Set Identity Router:
Terminal →/system identity set name="Router-NamaLengkap" - ether1 sebagai DHCP Client (WAN):
IP → DHCP Client → Add → Interfaceether1→ Apply → pastikan status = bound. - Set IP untuk wlan1:
IP → Addresses → Add →10.10.100.1/24→ Interfacewlan1. - Aktifkan Wireless + Mode ap-bridge:
Wireless → wlan1:
Mode =ap-bridge,
SSID =NamaLengkap_@alamincikut.sch.id
Security: password kosong (karena untuk Hotspot). - DNS Router:
IP → DNS:
Servers:8.8.8.8,1.1.1.1
Centang: Allow Remote Requests. - Hotspot Setup pada wlan1:
IP → Hotspot → Hotspot Setup →
- Interface:wlan1
- Address: otomatis (10.10.100.1/24)
- Pool: otomatis (10.10.100.x)
- DNS: gunakan DNS router
- DNS Name:wifi.alamincikut.sch.id(atau bebas)
- User & Password: boleh default / custom. - Firewall NAT (Masquerade):
IP → Firewall → NAT → Add:
Chain =srcnat
Out Interface =ether1
Action =masquerade
Pengujian
- Client tersambung ke SSID hotspot.
- Mendapat IP 10.10.100.x.
- Halaman login hotspot muncul otomatis.
- Login berhasil.
- Ping google.com sukses.
Latihan Interaktif
Apa fungsi firewall NAT masquerade dalam konfigurasi hotspot?
A. Memberikan IP otomatis ke client
B. Menyembunyikan IP private agar bisa akses internet
C. Mengarahkan client ke login page
D. Membuat SSID hotspot