Mikrotik-Hotspot Server
از ویکی پارس پویش
(تفاوت بین نسخهها)
(۳ ویرایش میانی توسط یک کاربر نشان داده نشدهاست) | |||
سطر ۱: | سطر ۱: | ||
<div dir=ltr lang=en> | <div dir=ltr lang=en> | ||
'''Hotspot Configuration :''' | '''Hotspot Configuration :''' | ||
− | + | /ip hotspot setup | |
− | hotspot interface: | + | hotspot interface: ether1 |
local address of network: 172.16.16.1/24 | local address of network: 172.16.16.1/24 | ||
masquerade network: yes | masquerade network: yes | ||
سطر ۱۴: | سطر ۱۴: | ||
name of local hotspot user: admin | name of local hotspot user: admin | ||
password for the user: | password for the user: | ||
− | + | /ip hotspot print | |
− | + | ||
Flags: X - disabled, I - invalid, S - HTTPS | Flags: X - disabled, I - invalid, S - HTTPS | ||
# NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT | # NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT | ||
− | 0 hotspot1 | + | 0 hotspot1 ether1 hs-pool-3 hsprof1 5m |
+ | /ip hotspot profile set hsprof1 use-radius=yes radius-accounting=yes radius-interim-update=1m login-by=http-pap | ||
+ | |||
+ | '''Radius Server Configuration:''' | ||
+ | /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp,hotspot timeout=3s | ||
+ | /ppp aaa set use-radius=yes accounting=yes interim-update=60 | ||
+ | /radius incoming set accept=yes | ||
+ | /radius incoming set port=1700 | ||
+ | </div> | ||
</div> | </div> |
نسخهٔ کنونی تا ۴ اکتبر ۲۰۱۲، ساعت ۲۲:۵۲
Hotspot Configuration : /ip hotspot setup hotspot interface: ether1 local address of network: 172.16.16.1/24 masquerade network: yes address pool of network: 172.16.16.2-172.16.16.254 Select hotspot SSL certificate select certificate: none ip address of smtp server: 0.0.0.0 dns servers: 172.16.16.1 DNS name of local hotspot server dns name: myhotspot name of local hotspot user: admin password for the user: /ip hotspot print Flags: X - disabled, I - invalid, S - HTTPS # NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT 0 hotspot1 ether1 hs-pool-3 hsprof1 5m /ip hotspot profile set hsprof1 use-radius=yes radius-accounting=yes radius-interim-update=1m login-by=http-pap
Radius Server Configuration: /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp,hotspot timeout=3s /ppp aaa set use-radius=yes accounting=yes interim-update=60 /radius incoming set accept=yes /radius incoming set port=1700
</div>