Contah buat hotspot mikrotik dengan IP publik 203.77.223.2/30 IP LAN 172.16.2.1/24 GW 203.77.223.1 settingannya kurang lebih kayak gini:
1. Setting mikrotik jadi router misal :
- IP Publik 203.77.223.2/30 dengan GW 203.77.223.1
- IP LAN 172.16.2.1/24

atau
mikrotik] > ip address add address=203.77.223.2/30 interface=ether1
mikrotik] > ip address add address=172.16.2.1/24 interface=ether2
2. IP route
mikrotik] > ip route add gateway=203.77.223.1 interface=ether1
3. Set NAT
mikrotik] > ip firewall nat add src-address=172.16.2.0/24 action=masquerade chain=srcnat out-interface=ether1
4. Set Hotspot

interface : ether2
local address of network : 172.16.2.1/24
masquerade network : yes
address pool of network : 172.16.2.2-172.16.2.254
select certificate : none
ip address of SMTP server : (misal) 203.77.222.1
DNS server : 203.77.222.3
DNS name : aribowo21.net.id
name of local hotspot user : aribowo21
password for the user : **********
5. Add user pemakai hotspot
mikrotik] > ip hotspot user add name=goblok password=pinter
Saat membuka hostname/IP gateway LAN akan muncul halaman login mikrotik yang diminta untuk emasukkan user dan password.
Yang diatas ini settingan dasar saja. Untuk tingkat advance bisa di set untuk besar BW, waktu akses dll di optionnya..
See u next time…




