Ok, this is it :
For the first , make sure your router is have been installed this package :
System
DHCP
Wireless
Hotspot
Proxy
User Manager
Security
Advanced tools
Step to setting up Mikrotik hotspot :
system identity set name=MyNet
ip address add address 192.168.1.2/27 interface=ether1
ip address add address 192.168.0.1/24 interface=ether2
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.1 scope=30 target-scope=10
[admin@MikroTik] > ip hotspot setup
hotspot interface: ether2
local address of network: 192.168.0.1/24
masquerade network: yes
address pool of network: 192.168.0.2-192.168.0.250
select certificate: none
ip address of smtp server: 0.0.0.0
dns servers: 8.8.8.8
dns name: hotspot.mynet
name of local hotspot user: user
password for the user: password
Now, we will configure the user manager :
tool user-manager customer add login=admin password=password
tool user-manager router add ip-address=127.0.0.1 shared-secret=12345 subscriber=admin
radius add service=hotspot address=127.0.0.1 secret=12345
ip hotspot profile set 1 use-radius=yes
Done, your Mikrotik now can be use as hospot gateway !!
0 comments:
Post a Comment