Mikrotik: Hotspot Setup

From OnnoWiki
Revision as of 15:00, 17 January 2022 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Seluruh LAN (eth2-eth8) akan dibuat hotspot


/ip dhcp-client print
/ip dhcp-client add interface=ether1 disable=no

/interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
/ip address add interface=bridge1 address=192.168.100.1/24
/ip hotspot setup
Select interface to run HotSpot on 
hotspot interface: bridge1
Set HotSpot address for interface 
local address of network: 192.168.100.1/24
masquerade network: yes
Set pool for HotSpot addresses 

address pool of network: 192.168.100.100-192.168.100.200
Select hotspot SSL certificate 

select certificate:                         
import-other-certificate  none
select certificate: none
Select SMTP server 
ip address of smtp server: 0.0.0.0
Setup DNS configuration 
dns servers: 8.8.8.8
DNS name of local hotspot server 
dns name: hotspot.percobaan
Create local hotspot user 
name of local hotspot user: admin
password for the user: admin


Tambahkan User HotSpot

/ip hotspot user add name=onno password=123456
/ip hotspot user add name=user1 password=123456
/ip hotspot user add name=tamu1 password=123456
/ip hotspot user add name=tamu1 password=123456 limit-uptime=5