Mikrotik Hotspot
Misal 125.126.127.128 IP Publik dari ISP dan lokal 192.168.1.0/24 #Setting IP #Setting Gateway (menuju ISP) #setting DNS #NAT (untuk forward lokal ke public) #Distribusikan DHCP #Tambahkan DHCP server #Set Hotspot #Dengan Winbox hotspot interface: ether2 #Create user #Edit Login Hotspot
=> ether1 ke ISP
=> ether2 ke lokal
[malih@Mikrotik]>ip address add address=125.126.127.128/27 interface=ether1
[malih@Mikrotik]>ip address add address=192.168.1.0/24 interface=ether2
[malih@Mikrotik]>ip route add gateway=20.30.40.50
[malih@Mikrotik]>ip dns set primary-dns=20.30.40.50 allow-remote-requests=yes
[malih@Mikrotik]>ip dns set secondary-dns=21.31.41.51 allow-remote-requests=yes
[malih@Mikrotik]>ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
# Setting DHCP
[malih@Mikrotik]>ip dhcp-server network add address=192.168.1.0/24 gateway=192.168.1.1 dns-server=20.30.40.50,21.31.41.51
[malih@Mikrotik]>ip pool add name=dhcp-pool ranges=192.168.1.100-192.168.1.254
[malih@Mikrotik]>ip dhcp-server add name=zamrud disabled=no interface=ether2 address-pool=dhcp-pool
[malih@Mikrotik] > ip hotspot setup
hotspot interface: ether2
local address of network: 192.168.1.1/24
masquerade network: yes
address pool of network: 192.168.1.100-192.168.1.254
select certificate: none
ip address of smtp server: 0.0.0.0
dns servers: 20.30.40.50,21.31.41.51
IP| hotspot
kemudian pada tabulasi servers click setup
local address of network: 192.168.1.1/24
masquerade network: yes
address pool of network: 192.168.1.100-192.168.1.254
select certificate: none
ip address of smtp server: 0.0.0.0
dns servers: 20.30.40.50,21.31.41.51
click tabulasi users trus click tanda plus…. kemudian isikan sesuai akses yg akan diberikan ke user
hotspot profile akan terbentuk secara default pada saat create hotspot server,edit sesuai kebutuhan
Masuk FTP Hotspot Server dan ubah sesuai keperluan file HTML di folder hotspot