Difference between revisions of "Mikrotik: Hotspot Setup"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
  add bridge=bridge1 interface=ether7
 
  add bridge=bridge1 interface=ether7
 
  add bridge=bridge1 interface=ether8
 
  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
  
  /ip address add interface=bridge1 address=192.168.100.1/24
+
  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 pool add name=hotspot-pool ranges=192.168.100.100-192.168.100.200
+
  /ip hotspot user add name=tamu1 password=123456 limit-uptime=5

Latest revision as of 15:00, 17 January 2022

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