Hotspot-Mikrotik
از ویکی پارس پویش
محتویات |
Mikrotik Configuration template for Hotspot ras
The easiest way to config mikrotik as Hotspot RAS:
[admin@MikroTik] > ip hotspot setup Select interface to run HotSpot on hotspot interface: ether1 Set HotSpot address for interface local address of network: 192.168.8.1/20 masquerade network: yes Set pool for HotSpot addresses address pool of network: 192.168.1.2-192.168.1.254 Select hotspot SSL certificate select certificate: none Select SMTP server ip address of smtp server: 0.0.0.0 Setup DNS configuration dns servers: 4.2.2.4,217.218.155.105 DNS name of local hotspot server dns name: [admin@MikroTik] >
Hotspot Profile Configuration
ip hotspot profile print ip hotspot profile set hsprof2 use-radius=yes radius-accounting=yes radius-interim-update=60 nas-port-type=wireless-802.11
Radius Configutarion
radius add address=<IBSng ip> secret=<word> accounting-port=1813 authentication-port=1812 timeout=3s service=ppp radius incoming set enable=yes radius incoming set port=1700
Hotspot Walt-Garden
If you have any server in the Intranet or in the Internet that you want your user can browse before authentiation,Walt-Garden is usefull.
ip hotspot walled-garden ip add dst-address=192.168.1.0/24 action=accept